~kris/suckless

dwm

ref: 99a17f8a00f1d4c2de62b1115db338207ddce547 dwm/patch/unfloatvisible.c -rw-r--r-- 268 bytes
99a17f8a — Kris Yotam Rebind application keys to dmenu scripts and add reading mode layout 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);
}