From e27132757c62e3559c373e715467cc39a76e2af7 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 18 Aug 2017 15:52:52 -0400 Subject: 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(+) (limited to 'src/modules/gadman/e_mod_gadman.c') 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; -- cgit v1.2.1