mirror of git://git.suckless.org/dwm
applied Sanders patch
This commit is contained in:
parent
caa7ab5362
commit
492c6f10fc
4
client.c
4
client.c
|
@ -305,8 +305,8 @@ togglefloating(const char *arg) {
|
|||
if(!sel || lt->arrange == floating)
|
||||
return;
|
||||
sel->isfloating = !sel->isfloating;
|
||||
if(sel->isfloating && sel->isfixed)
|
||||
resize(sel, sel->x, sel->y, sel->minw, sel->minh, True);
|
||||
if(sel->isfloating)
|
||||
resize(sel, sel->x, sel->y, sel->w, sel->h, True);
|
||||
lt->arrange();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue