diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c index b6e3fd0193..84a1167fde 100644 --- a/gdk/wayland/gdkdevice-wayland.c +++ b/gdk/wayland/gdkdevice-wayland.c @@ -881,7 +881,7 @@ pointer_handle_enter (void *data, event->crossing.subwindow = NULL; event->crossing.time = (guint32)(g_get_monotonic_time () / 1000); event->crossing.mode = GDK_CROSSING_NORMAL; - event->crossing.detail = GDK_NOTIFY_ANCESTOR; + event->crossing.detail = GDK_NOTIFY_NONLINEAR; event->crossing.focus = TRUE; event->crossing.state = 0; @@ -928,7 +928,7 @@ pointer_handle_leave (void *data, event->crossing.subwindow = NULL; event->crossing.time = (guint32)(g_get_monotonic_time () / 1000); event->crossing.mode = GDK_CROSSING_NORMAL; - event->crossing.detail = GDK_NOTIFY_ANCESTOR; + event->crossing.detail = GDK_NOTIFY_NONLINEAR; event->crossing.focus = TRUE; event->crossing.state = 0;