~kris/suckless

dwm

ref: bdace33fc79457c4ad8103b5e1bd18ded3bd2976 dwm/patch/unfloatvisible.c -rw-r--r-- 268 bytes
bdace33f — Kris Yotam Add Mod+Shift+S screenshot, Mod+/ dkymap, remove sticky bind 6 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);
}