dotfiles-mirror/dwm/patch/unfloatvisible.c
2026-02-05 03:05:24 +03:30

15 lines
268 B
C

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);
}