wayland: fix copy/pasto sending tool removed on rings/strips
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> https://bugzilla.gnome.org/show_bug.cgi?id=778262
This commit is contained in:
parent
962e1d5a69
commit
4f31b53521
2 changed files with 0 additions and 2 deletions
|
@ -62,7 +62,6 @@ meta_wayland_tablet_pad_ring_free (MetaWaylandTabletPadRing *ring)
|
||||||
|
|
||||||
wl_resource_for_each_safe (resource, next, &ring->resource_list)
|
wl_resource_for_each_safe (resource, next, &ring->resource_list)
|
||||||
{
|
{
|
||||||
zwp_tablet_tool_v2_send_removed (resource);
|
|
||||||
wl_list_remove (wl_resource_get_link (resource));
|
wl_list_remove (wl_resource_get_link (resource));
|
||||||
wl_list_init (wl_resource_get_link (resource));
|
wl_list_init (wl_resource_get_link (resource));
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,7 +62,6 @@ meta_wayland_tablet_pad_strip_free (MetaWaylandTabletPadStrip *strip)
|
||||||
|
|
||||||
wl_resource_for_each_safe (resource, next, &strip->resource_list)
|
wl_resource_for_each_safe (resource, next, &strip->resource_list)
|
||||||
{
|
{
|
||||||
zwp_tablet_tool_v2_send_removed (resource);
|
|
||||||
wl_list_remove (wl_resource_get_link (resource));
|
wl_list_remove (wl_resource_get_link (resource));
|
||||||
wl_list_init (wl_resource_get_link (resource));
|
wl_list_init (wl_resource_get_link (resource));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue