summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-08-20 08:42:55 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-08-20 08:42:55 +0100
commitb7d2ac57b00ee8dc84d3e9f8eec80e5bee3c6153 (patch)
treeef1731c7bc7a628b8afedd9d96a1dfa5205c344b /src/modules
parent9f5fa6d00fea617199a15e06ff853090df3fd5fe (diff)
freeze/that - use a bit more to cut out unwanted events
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/clock/e_mod_main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/clock/e_mod_main.c b/src/modules/clock/e_mod_main.c
index 48a2bd4..5d396c7 100644
--- a/src/modules/clock/e_mod_main.c
+++ b/src/modules/clock/e_mod_main.c
@@ -309,6 +309,8 @@ _clock_popup_new(Instance *inst)
309 309
310 if (inst->popup) return; 310 if (inst->popup) return;
311 311
312 evas = e_comp->evas;
313 evas_event_freeze(evas);
312 _todaystr_eval(inst, todaystr, sizeof(todaystr) - 1); 314 _todaystr_eval(inst, todaystr, sizeof(todaystr) - 1);
313 315
314 inst->madj = 0; 316 inst->madj = 0;
@@ -316,7 +318,6 @@ _clock_popup_new(Instance *inst)
316 _time_eval(inst); 318 _time_eval(inst);
317 319
318 inst->popup = e_gadcon_popup_new(inst->gcc, 0); 320 inst->popup = e_gadcon_popup_new(inst->gcc, 0);
319 evas = e_comp->evas;
320 321
321 inst->o_table = elm_table_add(e_comp->elm); 322 inst->o_table = elm_table_add(e_comp->elm);
322 323
@@ -377,6 +378,8 @@ _clock_popup_new(Instance *inst)
377 378
378 evas_smart_objects_calculate(evas); 379 evas_smart_objects_calculate(evas);
379 e_gadcon_popup_content_set(inst->popup, inst->o_table); 380 e_gadcon_popup_content_set(inst->popup, inst->o_table);
381 evas_event_thaw(evas);
382 evas_event_thaw_eval(evas);
380 e_gadcon_popup_show(inst->popup); 383 e_gadcon_popup_show(inst->popup);
381} 384}
382 385