summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2017-02-07 15:56:00 +1000
committerRui Matos <tiagomatos@gmail.com>2017-02-07 14:44:51 +0100
commit050e4acdae9f06fad0e03213fbc88752fa264e47 (patch)
tree543e1eb99ed188ad4a2e16c1fed439a57402d77b
parent8ccbd363159eab7c9394f49dd21d8cef9d4b0b41 (diff)
downloadmutter-050e4acdae9f06fad0e03213fbc88752fa264e47.tar.gz
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
-rw-r--r--src/wayland/meta-wayland-tablet-pad-ring.c1
-rw-r--r--src/wayland/meta-wayland-tablet-pad-strip.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/wayland/meta-wayland-tablet-pad-ring.c b/src/wayland/meta-wayland-tablet-pad-ring.c
index 26ff55713..77bf8d017 100644
--- a/src/wayland/meta-wayland-tablet-pad-ring.c
+++ b/src/wayland/meta-wayland-tablet-pad-ring.c
@@ -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));
}
diff --git a/src/wayland/meta-wayland-tablet-pad-strip.c b/src/wayland/meta-wayland-tablet-pad-strip.c
index c2d047b29..3c5deaef3 100644
--- a/src/wayland/meta-wayland-tablet-pad-strip.c
+++ b/src/wayland/meta-wayland-tablet-pad-strip.c
@@ -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));
}