diff --git a/src/modules/winlist/e_winlist.c b/src/modules/winlist/e_winlist.c index e82c82275..607ef8db1 100644 --- a/src/modules/winlist/e_winlist.c +++ b/src/modules/winlist/e_winlist.c @@ -431,9 +431,10 @@ _e_winlist_border_add(E_Border *bd, E_Zone *zone, E_Desk *desk) if (bd->desk != desk) { if ((bd->zone) && (bd->zone != zone)) - if (!e_config->winlist_list_show_other_screen_windows) return; - else - if (!e_config->winlist_list_show_other_desk_windows) return; + { + if (!e_config->winlist_list_show_other_screen_windows) return; + } + else if (!e_config->winlist_list_show_other_desk_windows) return; } } }