mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 03:20:46 -05:00
wayland: Check serial on wp_tablet_pad_ring.set_feedback
This commit is contained in:
parent
2f492c133c
commit
4f25057413
@ -79,7 +79,8 @@ tablet_pad_ring_set_feedback (struct wl_client *client,
|
|||||||
{
|
{
|
||||||
MetaWaylandTabletPadRing *ring = wl_resource_get_user_data (resource);
|
MetaWaylandTabletPadRing *ring = wl_resource_get_user_data (resource);
|
||||||
|
|
||||||
/* FIXME: check serial */
|
if (ring->group->mode_switch_serial != serial)
|
||||||
|
return;
|
||||||
|
|
||||||
ring->feedback = g_strdup (str);
|
ring->feedback = g_strdup (str);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user