Draft: gesturestylus: also support regular pointer events
As discussed in issue #4148, use cases for GtkGestureStylus
(such as drawing apps) require mouse support as well as tablet
support. Drawing with a mouse at least some of the time is
commonplace.
Absent mouse support in GtkGestureStylus
, the only alternative
is ugly hacks with GtkGestureDrag
or GtkEventControllerLegacy
.
This change introduces the boolean property
GtkGestureStylus:emulate-stylus
which if set to TRUE
allows a
GtkGestureStylus
to recognize regular pointer events in addition
to tool events.
(The property default is FALSE
, for backwards compatibilty.)