mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-20 06:59:50 -05:00
opt: set client maximize state false when toggle floating
This commit is contained in:
parent
e7184762a4
commit
702c24e8b1
1 changed files with 3 additions and 0 deletions
|
|
@ -4358,6 +4358,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