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:
parent
ab0bd59f5e
commit
797c46ba7d
@ -874,6 +874,10 @@ handle_input_xevent (MetaDisplay *display,
|
|||||||
modified = xievent_get_modified_window (display, input_event);
|
modified = xievent_get_modified_window (display, input_event);
|
||||||
window = modified != None ? meta_display_lookup_x_window (display, modified) : NULL;
|
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)
|
switch (input_event->evtype)
|
||||||
{
|
{
|
||||||
case XI_Enter:
|
case XI_Enter:
|
||||||
|
Loading…
Reference in New Issue
Block a user