summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <m.blumenkran@samsung.com>2013-06-19 08:52:19 +0100
committerMike Blumenkrantz <m.blumenkran@samsung.com>2013-06-19 08:52:19 +0100
commit8f4568a6b1a7a8fe1d2b9c13049a1467f3d513fe (patch)
treebe154fbabfe1c85357cb955d01100210a907a27f /src
parentcf1ccd32f24b389e4254eb7fd048acef23b180a8 (diff)
fix gadman overlay visibility after a gadman reset
Diffstat (limited to 'src')
-rw-r--r--src/modules/gadman/e_mod_gadman.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modules/gadman/e_mod_gadman.c b/src/modules/gadman/e_mod_gadman.c
index df1fd410e..73a63d884 100644
--- a/src/modules/gadman/e_mod_gadman.c
+++ b/src/modules/gadman/e_mod_gadman.c
@@ -56,6 +56,7 @@ gadman_reset(void)
56 E_Zone *zone; 56 E_Zone *zone;
57 57
58 if (gadman_locked) return; 58 if (gadman_locked) return;
59 evas_event_freeze(e_comp_get(Man->container)->evas);
59 E_FREE_LIST(Man->drag_handlers, ecore_event_handler_del); 60 E_FREE_LIST(Man->drag_handlers, ecore_event_handler_del);
60 for (layer = 0; layer < GADMAN_LAYER_COUNT; layer++) 61 for (layer = 0; layer < GADMAN_LAYER_COUNT; layer++)
61 { 62 {
@@ -86,6 +87,15 @@ gadman_reset(void)
86 87
87 _gadman_gadgets = eina_hash_string_superfast_new(NULL); 88 _gadman_gadgets = eina_hash_string_superfast_new(NULL);
88 gadman_update_bg(); 89 gadman_update_bg();
90 Man->visible = !Man->visible;
91 {
92 int prev = Man->conf->anim_bg;
93 Man->conf->anim_bg = 0;
94 gadman_gadgets_toggle();
95 Man->conf->anim_bg = prev;
96 }
97 edje_object_message_signal_process(Man->full_bg);
98 evas_event_thaw(e_comp_get(Man->container)->evas);
89} 99}
90 100
91void 101void