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:
Peter Hutterer 2017-02-07 15:56:00 +10:00 committed by Rui Matos
parent 962e1d5a69
commit 4f31b53521
2 changed files with 0 additions and 2 deletions

View File

@ -62,7 +62,6 @@ meta_wayland_tablet_pad_ring_free (MetaWaylandTabletPadRing *ring)
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_init (wl_resource_get_link (resource));
}

View File

@ -62,7 +62,6 @@ meta_wayland_tablet_pad_strip_free (MetaWaylandTabletPadStrip *strip)
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_init (wl_resource_get_link (resource));
}