dwm-custom/patch/unfloatvisible.c

16 lines
268 B
C
Raw Normal View History

2024-05-22 17:29:40 +02: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);
}