simplify for()
This commit is contained in:
parent
a9d1f4a37d
commit
324da44c0d
3
layout.c
3
layout.c
|
@ -125,9 +125,8 @@ restack(Display * disp, jdwm_config *jdwmconf)
|
|||
wc.sibling = sel->win;
|
||||
}
|
||||
for(c = clients; c; c = c->next)
|
||||
if(IS_TILED(c, jdwmconf->selected_tags, jdwmconf->ntags))
|
||||
{
|
||||
if(c == sel)
|
||||
if(IS_TILED(c, jdwmconf->selected_tags, jdwmconf->ntags) || c == sel)
|
||||
continue;
|
||||
XConfigureWindow(disp, c->win, CWSibling | CWStackMode, &wc);
|
||||
wc.sibling = c->win;
|
||||
|
|
Loading…
Reference in New Issue