1
0
Fork 0

events: Fix event handling for window menus under X11

We need to pass XI_Enter / XI_Leave events for GTK+ windows to GTK+,
rather than eating them.
This commit is contained in:
Jasper St. Pierre 2014-04-09 11:38:39 -07:00
parent ab0bd59f5e
commit 797c46ba7d

View file

@ -874,6 +874,10 @@ handle_input_xevent (MetaDisplay *display,
modified = xievent_get_modified_window (display, input_event);
window = modified != None ? meta_display_lookup_x_window (display, modified) : NULL;
/* If this is an event for a GTK+ widget, let GTK+ handle it. */
if (meta_ui_window_is_widget (display->screen->ui, modified))
return FALSE;
switch (input_event->evtype)
{
case XI_Enter: