~kris/suckless

dwm

ref: d836337e0c9b40a844a95f06da5d2d1fc5aa20e3 dwm/patch/unfloatvisible.c -rw-r--r-- 268 bytes
d836337e — Kris Yotam Set winter colorscheme as default dwm bar theme 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);
}