~petersanchez/st

d2937b05aed9cee8d6651cd806d31682a853c773 — noname@inventati.org 9 years ago d3e0f34
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.
1 files changed, 0 insertions(+), 2 deletions(-)

M st.c
M st.c => st.c +0 -2
@@ 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;