mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
wayland: Check serial on wp_tablet_pad_strip.set_feedback
This commit is contained in:
parent
ed73efa63f
commit
27477cbd30
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user