mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
opt: set client maximize state false when toggle floating
This commit is contained in:
parent
3af325fef7
commit
e7e7a86b8c
1 changed files with 3 additions and 0 deletions
|
|
@ -4420,6 +4420,9 @@ setfloating(Client *c, int floating) {
|
||||||
set_size_per(c->mon, c);
|
set_size_per(c->mon, c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!c->force_maximize)
|
||||||
|
client_set_maximized(c, false);
|
||||||
|
|
||||||
arrange(c->mon, false);
|
arrange(c->mon, false);
|
||||||
setborder_color(c);
|
setborder_color(c);
|
||||||
printstatus();
|
printstatus();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue