mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 14:41:25 +00:00
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:
parent
2ba69f9f88
commit
a8ffd12e99
@ -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");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user