wayland: Check serial on wp_tablet_pad_strip.set_feedback

This commit is contained in:
Carlos Garnacho 2016-06-29 18:10:43 +02:00
parent ed73efa63f
commit 27477cbd30

View File

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