summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2016-04-18 13:10:24 +0100
committerMatthias Clasen <mclasen@redhat.com>2016-04-19 10:39:04 -0400
commitb6402da864a5160e7bb80d07cbad09e0f7e03407 (patch)
tree624cdd0a6afe709ba5156aefb360854be3566bea
parent32397f0b72df71735179273aabd76e2752bd1148 (diff)
downloadgtk+-b6402da864a5160e7bb80d07cbad09e0f7e03407.tar.gz
wayland: Do not check the pointer focus when receiving wl_pointer.frame
The frame event is also meant to compress wl_pointer.leave events, at this point the focus surface will be definitely NULL. In the end, wl_pointer.frame should flush the last composed event despite the pointer focus. https://bugzilla.gnome.org/show_bug.cgi?id=765065
-rw-r--r--gdk/wayland/gdkdevice-wayland.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index 3f2bafedc9..d02f5804d7 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -1378,9 +1378,6 @@ pointer_handle_frame (void *data,
{
GdkWaylandSeat *seat = data;
- if (!seat->pointer_focus)
- return;
-
GDK_NOTE (EVENTS,
g_message ("frame, seat %p", seat));