applied anydots proposal to let togglefloating restore fixed windows
This commit is contained in:
父節點
f3e672efd8
當前提交
caa7ab5362
共有 1 個文件被更改,包括 2 次插入 和 0 次删除
2
client.c
2
client.c
|
@ -305,6 +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);
|
||||
lt->arrange();
|
||||
}
|
||||
|
||||
|
|
載入中…
Add table
Add a link
Reference in a new issue