forked from AuroraMiddleware/gtk
Don't mess with any events on the root window.
This causes all sorts of weirdness with pointer_over_window being the rootwindow and then crashing gdk_window_get_toplevel() later. With this metacity stops crashing madly.
This commit is contained in:
parent
6e56179b03
commit
33c0c1fba8
@ -8486,7 +8486,8 @@ _gdk_windowing_got_event (GdkDisplay *display,
|
||||
#endif
|
||||
|
||||
if (!(is_button_type (event->type) ||
|
||||
is_motion_type (event->type)))
|
||||
is_motion_type (event->type)) ||
|
||||
GDK_WINDOW_TYPE (event_private) == GDK_WINDOW_ROOT)
|
||||
return;
|
||||
|
||||
if (event_private->parent != NULL &&
|
||||
|
Loading…
Reference in New Issue
Block a user