From 4036e9a3c5eca7c5a2b1e36062ec8e5500edf51c Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 17 Sep 2012 05:26:22 +0000 Subject: [PATCH] need to unlock gadcon BEFORE checking whether gadcon is still editing, otherwise we never unlock and always break shelf autohide SVN revision: 76731 --- src/bin/e_gadcon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_gadcon.c b/src/bin/e_gadcon.c index ac100b700..770eb34bd 100644 --- a/src/bin/e_gadcon.c +++ b/src/bin/e_gadcon.c @@ -1223,13 +1223,13 @@ e_gadcon_client_edit_end(E_Gadcon_Client *gcc) if (gcc->o_control) evas_object_del(gcc->o_control); gcc->o_control = NULL; + e_gadcon_locked_set(gcc->gadcon, 0); EINA_LIST_FOREACH(gcc->gadcon->clients, l, client) { if (!client) continue; if (client->o_control) return; } gcc->gadcon->editing = 0; - e_gadcon_locked_set(gcc->gadcon, 0); } EAPI void