[gtk+] wayland: Do not check the pointer focus when receiving wl_pointer.frame
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] wayland: Do not check the pointer focus when receiving wl_pointer.frame
- Date: Mon, 18 Apr 2016 13:18:11 +0000 (UTC)
commit bfcd9a2193215cd1b3bcf415c02922e524958bc6
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Apr 18 13:10:24 2016 +0100
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
gdk/wayland/gdkdevice-wayland.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index cfd209f..4dc498a 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -1467,9 +1467,6 @@ pointer_handle_frame (void *data,
{
GdkWaylandSeat *seat = data;
- if (!seat->pointer_info.focus)
- return;
-
GDK_NOTE (EVENTS,
g_message ("frame, seat %p", seat));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]