mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-30 13:14:45 -04:00
opt: optimize size per set when setfloating
This commit is contained in:
parent
38f2ecf30b
commit
5a57198c1d
2 changed files with 2 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ void set_size_per(Monitor *m, Client *c) {
|
|||
}
|
||||
}
|
||||
|
||||
if (!found) {
|
||||
if (!found || c->isfloating) {
|
||||
c->master_mfact_per = m->pertag->mfacts[m->pertag->curtag];
|
||||
c->master_inner_per = 1.0f;
|
||||
c->stack_inner_per = 1.0f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue