diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-08-18 15:52:52 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-08-18 15:52:50 -0400 |
commit | e27132757c62e3559c373e715467cc39a76e2af7 (patch) | |
tree | 07bd1a45ca42580caea64aaeb969863860e13e23 /src | |
parent | 5610c4cad030bfd1d87f96b5f6d974793df68d49 (diff) | |
download | enlightenment-e27132757c62e3559c373e715467cc39a76e2af7.tar.gz |
don't set gadman overlay gadgets as editing if overlay not visible
this screws up mover visibility
fix T3291
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/gadman/e_mod_gadman.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/gadman/e_mod_gadman.c b/src/modules/gadman/e_mod_gadman.c index b2724ce31d..3dae30e1de 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; |