From d44d33495308c4aea5605c106948c6507b414a28 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Mon, 29 Feb 2016 12:12:35 -0600 Subject: [PATCH] Don't allow deleted wayland clients to set the cursor --- src/bin/e_comp_wl_input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c index 47c0f7dc9..fc7c6421f 100644 --- a/src/bin/e_comp_wl_input.c +++ b/src/bin/e_comp_wl_input.c @@ -37,6 +37,7 @@ _e_comp_wl_input_pointer_cb_cursor_set(struct wl_client *client, struct wl_resou E_CLIENT_FOREACH(ec) { + if (e_object_is_del(E_OBJECT(ec))) continue; if (e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_WL) continue; if (!ec->comp_data->surface) continue; if (client != wl_resource_get_client(ec->comp_data->surface)) continue;