discomfitor pushed a commit to branch master.

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

commit e27132757c62e3559c373e715467cc39a76e2af7
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Aug 18 15:52:52 2017 -0400

    don't set gadman overlay gadgets as editing if overlay not visible
    
    this screws up mover visibility
    
    fix T3291
---
 src/modules/gadman/e_mod_gadman.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/modules/gadman/e_mod_gadman.c 
b/src/modules/gadman/e_mod_gadman.c
index b2724ce31..3dae30e1d 100644
--- a/src/modules/gadman/e_mod_gadman.c
+++ b/src/modules/gadman/e_mod_gadman.c
@@ -434,6 +434,11 @@ gadman_gadget_edit_start(E_Gadcon_Client *gcc)
    else if (Man->drag_gcc[gcc->gadcon->id - ID_GADMAN_LAYER_BASE])
      e_object_unref(E_OBJECT(Man->drag_gcc[gcc->gadcon->id - 
ID_GADMAN_LAYER_BASE]));
 
+   if (gcc->gadcon->id - ID_GADMAN_LAYER_BASE == 1)
+     {
+        /* don't set edit if overlay isn't visible */
+        if (!Man->visible) return;
+     }
    EINA_LIST_FOREACH(Man->gadcons[gcc->gadcon->id - ID_GADMAN_LAYER_BASE], l, 
gc)
      gc->editing = 1;
    gc = gcc->gadcon;

-- 


Reply via email to