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.
This commit is contained in:
noname@inventati.org authored and Roberto E. Vargas Caballero committed 2015-04-13 09:17:06 +02:00
1 parent d3e0f3444b
commit d2937b05ae
1 file changed
-2
-2
View File
@@ -3919,8 +3919,6 @@ run(void) {
/* Waiting for window mapping */ /* Waiting for window mapping */
do { do {
XNextEvent(xw.dpy, &ev); XNextEvent(xw.dpy, &ev);
if(XFilterEvent(&ev, None))
continue;
if(ev.type == ConfigureNotify) { if(ev.type == ConfigureNotify) {
w = ev.xconfigure.width; w = ev.xconfigure.width;
h = ev.xconfigure.height; h = ev.xconfigure.height;