raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=445b42b87649a716e4fff363d58ca06552a1095d

commit 445b42b87649a716e4fff363d58ca06552a1095d
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Mon Nov 9 10:49:19 2020 +0000

    winlist - dont show anything at all if no windows in the winlist
---
 src/modules/winlist/e_winlist.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/modules/winlist/e_winlist.c b/src/modules/winlist/e_winlist.c
index f23258260..8684334e1 100644
--- a/src/modules/winlist/e_winlist.c
+++ b/src/modules/winlist/e_winlist.c
@@ -270,6 +270,16 @@ e_winlist_show(E_Zone *zone, E_Winlist_Filter filter)
 
    if (!_wins)
      {
+        if (_winlist_bg_object)
+          {
+             evas_object_del(_winlist_bg_object);
+             _winlist_bg_object = NULL;
+          }
+        if (_winlist_fg_object)
+          {
+             evas_object_del(_winlist_fg_object);
+             _winlist_fg_object = NULL;
+          }
         e_winlist_hide();
         evas_event_thaw(e_comp->evas);
         return 1;

-- 


Reply via email to