mutter:wip/tablet-protocol

Last commit made on 2016-05-02
Get this branch:
git clone -b wip/tablet-protocol https://git.launchpad.net/mutter

Branch merges

Branch information

Name:
wip/tablet-protocol
Repository:
lp:mutter

Recent commits

25bbb4c... by Carlos Garnacho

backends: Allow multiple "SW" cursor overlays on the stage

All the upper layers are prepared for multiple onscreen cursors, but
this. All MetaCursorRenderers created would poke the same internal
MetaOverlay in the stage.

This will lead to multiple cursor renderers resorting to the "SW"
rendering paths (as it can be seen with tablet support) to reuse the
same overlay, thus leading to flickering when a different
MetaCursorRenderer takes over the overlay.

Fix this by allowing per-cursor-renderer overlays, their lifetime
is attached to the cursor renderer, so is expected to be tear down
if the relevant device (eg. tablet) disappears.

3a963d9... by Carlos Garnacho

wayland: Ensure each MetaWaylandSeat gets its MetaWaylandTabletSeat

Those need to be created in advance in order to handle properly the
events, even on lack of requesting clients.

212a170... by Carlos Garnacho

core: Update tablet cursors

On wayland, tablets have their standalone pointer, which must be updated
on events from the corresponding device.

17f2b4e... by Carlos Garnacho

wayland: Add methods to update the position of different tools' cursors

4ce4f4e... by Carlos Garnacho

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.

d7b8db3... by Carlos Garnacho

wayland: Let MetaWaylandTabletManager process tablet events

meta_wayland_tablet_manager_update()/handle_event() are called before
the MetaWaylandSeat counterparts. If the event comes from a device
managed by MetaWaylandTabletManager, the event will be exclusively handled
by it.

754a4bf... by Carlos Garnacho

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.

d46586e... by Carlos Garnacho

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.

38bff73... by Carlos Garnacho

wayland: Add focus management to MetaWaylandTabletTool

Tools can now switch between surfaces, which implies the emission
of wl_tablet_tool.proximity_in/out events.

aaa59ab... by Carlos Garnacho

wayland: Initialize the MetaWaylandTabletManager