discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=3e8b5890bc496f2634f123c96a1aebe4ac028979

commit 3e8b5890bc496f2634f123c96a1aebe4ac028979
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Jan 21 13:00:10 2016 -0500

    enable surface visibility fallthrough for drag clients
    
    more surfaces with no shell interfaces
---
 src/bin/e_comp_wl.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 6af7bb9..fc9446e 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1061,7 +1061,8 @@ _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.unmap))
                ec->comp_data->shell.unmap(ec->comp_data->shell.surface);
              else if (ec->comp_data->cursor || e_client_has_xwindow(ec) ||
-                      (ec->comp_data->sub.data && 
ec->comp_data->sub.data->parent->comp_data->mapped))
+                      (ec->comp_data->sub.data && 
ec->comp_data->sub.data->parent->comp_data->mapped) ||
+                      (ec == e_comp_wl->drag_client))
                {
                   ec->visible = EINA_FALSE;
                   evas_object_hide(ec->frame);
@@ -1076,7 +1077,8 @@ _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->comp_data->sub.data && 
ec->comp_data->sub.data->parent->comp_data->mapped))
+                      (ec->comp_data->sub.data && 
ec->comp_data->sub.data->parent->comp_data->mapped) ||
+                      (ec == e_comp_wl->drag_client))
                {
                   ec->visible = EINA_TRUE;
                   ec->ignored = 0;

-- 


Reply via email to