Filter out XIM X events

XIM ClientMessage events to an XIM internal window was triggering
the check for a window message procs. We need to properly filter
events with XFilterEvent to avoid this happening.
This commit is contained in:
Alexander Larsson 2010-02-04 16:11:38 +01:00
parent 2ba69f9f88
commit a8ffd12e99

View File

@ -176,6 +176,10 @@ void XEventHandler::on_event()
continue;
}
if (XFilterEvent(&event, None)) {
continue;
}
if (XFindContext(&_x_display, event.xany.window, _win_proc_context, &proc_pointer)) {
THROW("no window proc");
}