wayland: Check serial on wp_tablet_pad_ring.set_feedback

This commit is contained in:
Carlos Garnacho 2016-06-29 18:10:18 +02:00
parent 2f492c133c
commit 4f25057413

View File

@ -79,7 +79,8 @@ tablet_pad_ring_set_feedback (struct wl_client *client,
{
MetaWaylandTabletPadRing *ring = wl_resource_get_user_data (resource);
/* FIXME: check serial */
if (ring->group->mode_switch_serial != serial)
return;
ring->feedback = g_strdup (str);
}