~kris/suckless

dwm

ref: c69be823b37c10728ba38af5b45956af6fd10a8b dwm/patch/unfloatvisible.c -rw-r--r-- 268 bytes
c69be823 — Kris Yotam Rebind Mod+m to dmode, add Mod+a for questions, update screenshot/record bindings 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);
}