Carlos Garnacho
0f93ad8b53
wayland: Add methods to update the position of different tools' cursors
2016-05-03 18:17:01 +02:00
Carlos Garnacho
a631010a7a
wayland: Implement tool notification
...
Those must be notified to clients before proximity_in, only if the client
didn't have a resource for this tool previously.
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