discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=33582859e2dd75d340a99f418bc5e68a0672dd96

commit 33582859e2dd75d340a99f418bc5e68a0672dd96
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Mon Feb 29 12:12:35 2016 -0600

    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 07d1196..22147ba 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;

-- 


Reply via email to