diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2016-02-29 12:12:35 -0600 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2016-03-07 19:45:37 -0600 |
commit | 4edd2ea58728e88b33a3889baacf63a05fe11a4c (patch) | |
tree | 703f2da9866cb725f9689cbe612342a0f095d996 | |
parent | e42b950f68c51050fc13b4553b38f9da11013d73 (diff) | |
download | enlightenment-4edd2ea58728e88b33a3889baacf63a05fe11a4c.tar.gz |
Don't allow deleted wayland clients to set the cursor
-rw-r--r-- | src/bin/e_comp_wl_input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c index 07d1196a2f..22147bae6c 100644 --- a/src/bin/e_comp_wl_input.c +++ b/src/bin/e_comp_wl_input.c @@ -41,6 +41,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; |