~kris/suckless

dwm

ref: 9780b2f6361a848a23779f2340c94bc8f0344159 dwm/patch/unfloatvisible.c -rw-r--r-- 268 bytes
9780b2f6 — Kris Yotam wip: emergency backup (power outage risk) 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);
}