freeze/that - use a bit more to cut out unwanted events

This commit is contained in:
Carsten Haitzler 2019-08-20 08:42:55 +01:00
parent 9f5fa6d00f
commit b7d2ac57b0
2 changed files with 5 additions and 1 deletions

View File

@ -1680,6 +1680,7 @@ _e_menu_realize(E_Menu *m)
evas_event_thaw(m->evas);
evas_event_thaw_eval(m->evas);
m->realized = 1;
}

View File

@ -309,6 +309,8 @@ _clock_popup_new(Instance *inst)
if (inst->popup) return;
evas = e_comp->evas;
evas_event_freeze(evas);
_todaystr_eval(inst, todaystr, sizeof(todaystr) - 1);
inst->madj = 0;
@ -316,7 +318,6 @@ _clock_popup_new(Instance *inst)
_time_eval(inst);
inst->popup = e_gadcon_popup_new(inst->gcc, 0);
evas = e_comp->evas;
inst->o_table = elm_table_add(e_comp->elm);
@ -377,6 +378,8 @@ _clock_popup_new(Instance *inst)
evas_smart_objects_calculate(evas);
e_gadcon_popup_content_set(inst->popup, inst->o_table);
evas_event_thaw(evas);
evas_event_thaw_eval(evas);
e_gadcon_popup_show(inst->popup);
}