forked from AuroraMiddleware/gtk
Block extended events to windows that didn't select them.
Now XSelectExtensionEvent() is called on the native window, so there may be virtual windows inside that shouldn't receive extended events. https://bugzilla.gnome.org/show_bug.cgi?id=588649
This commit is contained in:
parent
13c258f891
commit
d37268c60f
@ -272,6 +272,7 @@ _gdk_input_other_event (GdkEvent *event,
|
||||
return FALSE;
|
||||
|
||||
if (gdkdev->info.mode == GDK_MODE_DISABLED ||
|
||||
priv->extension_events == 0 ||
|
||||
!(gdkdev->info.has_cursor || (priv->extension_events & GDK_ALL_DEVICES_MASK)))
|
||||
return FALSE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user