mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-07 04:34:24 -05:00
opt: add some comment
This commit is contained in:
parent
b0f24c6fe1
commit
29a4f93b4e
1 changed files with 4 additions and 0 deletions
|
|
@ -44,6 +44,10 @@ void restore_size_per(Monitor *m, Client *c) {
|
|||
return;
|
||||
}
|
||||
|
||||
// it is possible that the current floating window is moved to another tag,
|
||||
// but the tag has not executed save_old_size_per
|
||||
// so it must be judged whether their old size values are initial values
|
||||
|
||||
if (!c->ismaster && c->old_stack_inner_per < 1.0 &&
|
||||
c->old_stack_inner_per > 0.0f && c->stack_inner_per < 1.0 &&
|
||||
c->stack_inner_per > 0.0f) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue