mirror of git://git.suckless.org/dwm
applied anydots proposal to let togglefloating restore fixed windows
This commit is contained in:
parent
f3e672efd8
commit
caa7ab5362
2
client.c
2
client.c
|
@ -305,6 +305,8 @@ togglefloating(const char *arg) {
|
||||||
if(!sel || lt->arrange == floating)
|
if(!sel || lt->arrange == floating)
|
||||||
return;
|
return;
|
||||||
sel->isfloating = !sel->isfloating;
|
sel->isfloating = !sel->isfloating;
|
||||||
|
if(sel->isfloating && sel->isfixed)
|
||||||
|
resize(sel, sel->x, sel->y, sel->minw, sel->minh, True);
|
||||||
lt->arrange();
|
lt->arrange();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue