discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=66e95311ff68a6e056d52101c780c3089a20cf0c

commit 66e95311ff68a6e056d52101c780c3089a20cf0c
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Jul 21 16:20:03 2017 -0400

    only map wl pointer clients if they are the active cursor
    
    ensure cursors which are randomly committed when not being used as
    a cursor (e.g., all efl wayland cursors) are not shown
    
     #TheDisappointer
---
 src/bin/e_comp_wl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index f8504d447..9bba0b737 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1471,7 +1471,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, 
E_Comp_Wl_Surface_State *state)
           {
              if ((ec->comp_data->shell.surface) && (ec->comp_data->shell.map))
                ec->comp_data->shell.map(ec->comp_data->shell.surface);
-             else if (ec->comp_data->cursor || e_client_has_xwindow(ec) || 
ec->internal_elm_win ||
+             else if ((ec == e_comp->pointer->client.ec) || 
e_client_has_xwindow(ec) || ec->internal_elm_win ||
                       (ec->comp_data->sub.data && 
ec->comp_data->sub.data->parent->comp_data->mapped) ||
                       (ec == e_comp_wl->drag_client))
                {

-- 


Reply via email to