winlist - dont show anything at all if no windows in the winlist

This commit is contained in:
Carsten Haitzler 2020-11-09 10:49:19 +00:00
parent 98d13ff7fe
commit 445b42b876
1 changed files with 10 additions and 0 deletions

View File

@ -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;