dwm-flexipatch-zombie/patch/unfloatvisible.c

14 lines
266 B
C
Raw Permalink Normal View History

2021-06-10 23:20:40 -04:00
void
unfloatvisible(const Arg *arg)
{
Client *c;
for (c = selmon->clients; c; c = c->next)
if (ISVISIBLE(c) && c->isfloating)
c->isfloating = c->isfixed;
if (arg && arg->v)
setlayout(arg);
else
arrange(selmon);
}