From 16d48c353b1618f5140b6a845de98663850600cb Mon Sep 17 00:00:00 2001 From: Stephen okra Houston Date: Mon, 21 Nov 2016 10:01:53 -0600 Subject: [PATCH] Luncher: Make sure to free the previous window preview, not the current one on mouse in. --- src/modules/luncher/bar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c index 26ad6ea29..f4af9cae8 100644 --- a/src/modules/luncher/bar.c +++ b/src/modules/luncher/bar.c @@ -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) { Icon *icon = evas_object_data_get(current_preview, "icon"); - E_FREE_FUNC(ic->preview_box, evas_object_del); - elm_ctxpopup_dismiss(ic->preview); + E_FREE_FUNC(icon->preview_box, evas_object_del); + elm_ctxpopup_dismiss(icon->preview); current_preview = NULL; current_preview_menu = EINA_FALSE; - ic->active = EINA_FALSE; + icon->active = EINA_FALSE; _bar_icon_preview_show(ic); } else