Carlos Garnacho
6b384dc8d1
wayland: Update tool cursor scale when crossing monitors
...
This makes tool cursors properly scaled on hidpi.
https://bugzilla.gnome.org/show_bug.cgi?id=778474
2017-02-15 23:33:44 +01:00
Carlos Garnacho
a25915f4f9
wayland: Keep pointer to cursor sprite on MetaWaylandTabletTool
...
https://bugzilla.gnome.org/show_bug.cgi?id=778474
2017-02-15 23:33:44 +01:00
Carlos Garnacho
0f93ad8b53
wayland: Add methods to update the position of different tools' cursors
2016-05-03 18:17:01 +02:00
Carlos Garnacho
ec53b5562d
wayland: Implement wl_tablet_tool.set_cursor
...
Each tool has its own MetaCursorRenderer instance, which is created/destroyed
upon proximity, and possibly updated through focus and set_cursor calls in
between.
2016-05-03 18:17:01 +02:00
Carlos Garnacho
521e934cb9
wayland: Implement wl_tablet_tool device event emission
...
This takes care of the emission of motion/down/up/button, in addition
to the extra distance/pressure/tilt axes.
2016-05-03 18:17:01 +02:00
Carlos Garnacho
edfb8fe19b
wayland: Add focus management to MetaWaylandTabletTool
...
Tools can now switch between surfaces, which implies the emission
of wl_tablet_tool.proximity_in/out events.
2016-05-03 18:17:01 +02:00
Carlos Garnacho
ee394a6cd3
wayland: Add MetaWaylandTabletTool
...
This struct holds the server-side information of a wl_tablet_tool, which
represents an specific tool of an specific tablet, and is unique as such.
2016-05-03 13:05:06 +02:00