Skip to content
Permalink
Browse files

e_shelf - check visiblity with zone and desk FIRST not later.

  • Loading branch information...
rbtylee committed May 28, 2018
1 parent 42bd2cf commit 94e1804acb273af1e86eb5f52a00614f9feea569
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/bin/e_shelf.c
@@ -914,13 +914,13 @@ e_shelf_desk_visible(E_Shelf *es, E_Desk *desk)
}
return EINA_FALSE;
}
if (!es->cfg->desk_show_mode) return EINA_TRUE;
cf_es = es->cfg;
if (!cf_es) return EINA_FALSE;

zone = desk->zone;
if (cf_es->zone != (int)zone->num) return EINA_FALSE;

if (!es->cfg->desk_show_mode) return EINA_TRUE;

EINA_LIST_FOREACH(es->cfg->desk_list, ll, sd)
{
if (!sd) continue;

1 comment on commit 94e1804

@rbtylee

This comment has been minimized.

Copy link
Collaborator Author

rbtylee commented on 94e1804 May 28, 2018

This is a backport I found looking at another issue. Makes sense.

Please sign in to comment.
You can’t perform that action at this time.