mutter:wip/tablet-protocol-v2

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

Branch merges

Branch information

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

Recent commits

ec5d127... by Carlos Garnacho

wayland: Emit wp_tablet_pad_group.buttons after focus changes

The buttons grabbed by the compositor might have changed in between,
so just broadcast the button array again.

1c1785e... by Carlos Garnacho

wayland: Check serial on wp_tablet_pad.set_feedback

We must lookup the mode switch serial for the group where the button
belongs to. Also, avoid the changes if the client requests setting
the feedback for buttons owned by the compositor.

aef997f... by Carlos Garnacho

wayland: Export function to tell whether a button belongs to a pad group

27477cb... by Carlos Garnacho

wayland: Check serial on wp_tablet_pad_strip.set_feedback

ed73efa... by Carlos Garnacho

wayland: Check serial on wp_tablet_pad_ring.set_feedback

98f26bf... by Carlos Garnacho

wayland: Fix label lookup on >1 strips/rings

We assumed that each group could only have 1 strip and/or ring, because
accounting is performed per group, so we could not assume the real
index for anything above 1. Get rid of this restriction, now that
MetaWaylandTabletPad does its own accounting of rings/strips, alongside
groups.

edda88a... by Carlos Garnacho

wayland: Move strips/rings management back to MetaWaylandTabletPad

This is best for 2 reasons:
- It's feels cleaner doing first creation of rings/strips and then
  the group assignment. The other option is making groups iterate
  other all rings/strips and selectively skip those not meant for
  it, which sounds somewhat redundant.
- Some minimal accounting of rings/strips without group restrictions
  is needed for meta_wayland_tablet_pad_get_label().

The rings/strips memory is now owned by MetaWaylandTabletPad instead
of groups, which is sort of meaningless since all are meant to go
at the same time.

5815259... by Carlos Garnacho

wayland: Add method to relate a pad strip to its group

1f7c7bd... by Carlos Garnacho

wayland: Add method to relate a pad ring to its group

05a5c86... by Carlos Garnacho

backends: Implement the "show osd" pad action

Just call back into meta_display_request_show_osd().