mirror of
https://github.com/brl/mutter.git
synced 2025-01-22 17:38:56 +00:00
wayland: Check serial on wp_tablet_pad_strip.set_feedback
This commit is contained in:
parent
4f25057413
commit
406677e2a0
@ -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…
x
Reference in New Issue
Block a user