mirror of
https://github.com/brl/mutter.git
synced 2024-12-03 05:10:40 -05:00
backend-x11: Adapt commit 55fd05ea5
to the 3-16 branch
Still only compile-tested, but I was asked repeatedly to apply this patch to 3-16, so let's try again ...
This commit is contained in:
parent
f4d9153e5f
commit
833c6e2263
@ -141,7 +141,15 @@ translate_crossing_event (MetaBackendX11 *x11,
|
||||
return;
|
||||
}
|
||||
|
||||
enter_event->event = meta_backend_x11_get_xwindow (x11);
|
||||
Window stage_window = meta_backend_x11_get_xwindow (x11);
|
||||
if (enter_event->event != stage_window)
|
||||
{
|
||||
/* See above for the rationale for this... */
|
||||
g_assert (!meta_is_wayland_compositor ());
|
||||
enter_event->event = meta_backend_x11_get_xwindow (x11);
|
||||
enter_event->event_x = enter_event->root_x;
|
||||
enter_event->event_y = enter_event->root_y;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user