forked from enlightenment/enlightenment
Luncher: Make sure to free the previous window preview, not the current one on mouse in.
This commit is contained in:
parent
33ecfe5b99
commit
16d48c353b
|
@ -855,11 +855,11 @@ _bar_icon_mouse_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *even
|
||||||
if (current_preview && clients && !current_preview_menu)
|
if (current_preview && clients && !current_preview_menu)
|
||||||
{
|
{
|
||||||
Icon *icon = evas_object_data_get(current_preview, "icon");
|
Icon *icon = evas_object_data_get(current_preview, "icon");
|
||||||
E_FREE_FUNC(ic->preview_box, evas_object_del);
|
E_FREE_FUNC(icon->preview_box, evas_object_del);
|
||||||
elm_ctxpopup_dismiss(ic->preview);
|
elm_ctxpopup_dismiss(icon->preview);
|
||||||
current_preview = NULL;
|
current_preview = NULL;
|
||||||
current_preview_menu = EINA_FALSE;
|
current_preview_menu = EINA_FALSE;
|
||||||
ic->active = EINA_FALSE;
|
icon->active = EINA_FALSE;
|
||||||
_bar_icon_preview_show(ic);
|
_bar_icon_preview_show(ic);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue