st

simple terminal

git clone https://9o.is/git/st.git

commit 1e21b8ed1a4447458aac406cca132c5deb75626d
parent b7ab1ff9c22b9ce4108385874aa2f70ba1f2d2e1
Author: noname@inventati.org <noname@inventati.org>
Date:   Sat, 11 Apr 2015 12:15:51 +0200

Remove unnecessary XFilterEvent call.

XFilterEvent usually filters KeyPress events according to input method.
At this point the window is not mapped. The only events that we process
are ConfigureNotify and MapNotify. They should not be filtered by input
method.

Diffstat:
Mst.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/st.c b/st.c @@ -3919,8 +3919,6 @@ run(void) { /* Waiting for window mapping */ do { XNextEvent(xw.dpy, &ev); - if(XFilterEvent(&ev, None)) - continue; if(ev.type == ConfigureNotify) { w = ev.xconfigure.width; h = ev.xconfigure.height;