Files
gtk/gdk
Daniel Boles 9c7e996bce gdkseatdefault: Grab touch events where applicable
gdk_seat_default_grab() grabs POINTER_EVENTS if the capability is
GDK_SEAT_CAPABILITY_ALL_POINTING. But that enumerator is a union that
includes GDK_SEAT_CAPABILITY_TOUCH, but we never grabbed TOUCH_EVENTS,
an unused macro that was presumably created with this purpose in mind.

So, check which of the ALL_POINTING capabilities we have, and set the
right mask of POINTER_EVENTS and/or TOUCH_EVENTS as required.

As part of this, explicitly let TABLET_STYLUS take over pointer events,
as this is the intended behaviour and was the effective result before.

This should fix touch events being lost in migrating from Device.grab()
to Seat.grab(GDK_SEAT_CAPABILITY_ALL_POINTING), as found by Inkscape.

https://bugzilla.gnome.org/show_bug.cgi?id=781757
2017-09-20 19:19:35 +01:00
..
2017-08-15 13:59:34 +01:00
2017-08-14 22:23:09 +01:00
2017-08-14 22:23:09 +01:00
2017-05-03 14:47:14 +01:00
2017-01-08 03:46:30 +01:00
2017-01-18 04:13:56 +01:00
2016-10-24 09:18:53 +02:00
2016-10-24 09:18:53 +02:00
2017-09-19 18:40:51 +02:00
2016-08-23 21:01:44 +02:00
2016-08-23 21:01:44 +02:00
2016-08-23 21:01:44 +02:00
2016-12-09 14:59:46 -05:00
2016-12-05 15:02:47 +01:00
2017-09-19 18:40:51 +02:00
2016-04-30 21:06:38 -04:00
2016-12-09 18:35:51 +01:00
2017-01-19 13:21:12 -05:00
2016-05-08 15:34:28 +02:00
2016-04-27 23:18:16 -04:00
2017-09-19 18:40:51 +02:00