[Wayland-bugs] [Bug 750845] popup windows don't get touch events
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Thu Jun 18 00:38:54 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=750845
--- Comment #2 from Jonas Ã…dahl <jadahl at gmail.com> ---
Review of attachment 305147:
::: gdk/wayland/gdkdevice-wayland.c
@@ +1443,3 @@
+ _gdk_event_set_pointer_emulated (mevent, TRUE);
+ _gdk_wayland_display_deliver_event (device->display, mevent);
+ }
Correct me if I'm wrong, but this patch seems to emulate a mouse enter event in
order to trick GTK into believing it has focus i.e. so that it can deal with
the touch events.
This doesn't sound like the right approach to me. It seems more reasonable make
GTK properly deal with touch events even when pointer focus is elsewhere
instead of occasionally emulating certain pointer events.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150618/39c0ed0e/attachment.html>
More information about the wayland-bugs
mailing list