From a4a9a5a6280b189a863c27bfbea41e1b0be451f3 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Fri, 2 Dec 2016 16:58:29 +0100 Subject: [PATCH] luncher: delete the popup if there is already one Otherwise we have two which are locking the bryce onto the screen --- src/modules/luncher/bar.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c index 3321b6931..57ebcfe28 100644 --- a/src/modules/luncher/bar.c +++ b/src/modules/luncher/bar.c @@ -741,6 +741,9 @@ _bar_icon_preview_show(void *data) if (!eina_list_count(ic->execs) && !eina_list_count(ic->clients)) return EINA_FALSE; + if (ic->preview) + elm_popup_dismiss(ic->preview); + ic->preview = elm_ctxpopup_add(e_comp->elm); elm_object_style_set(ic->preview, "noblock"); evas_object_size_hint_min_set(ic->preview, ic->inst->size, ic->inst->size);