mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-17 14:33:18 -04:00
fix: scroller proportion option miss apply in windowrule
This commit is contained in:
parent
4e25a6c64b
commit
d0cd2beeb6
2 changed files with 21 additions and 2 deletions
|
|
@ -26,8 +26,15 @@ void set_size_per(Monitor *m, Client *c) {
|
|||
c->stack_inner_per = 1.0f;
|
||||
}
|
||||
|
||||
c->scroller_proportion =
|
||||
m->pertag->scroller_default_proportion[m->pertag->curtag];
|
||||
if (!c->iscustom_scroller_proportion) {
|
||||
c->scroller_proportion =
|
||||
m->pertag->scroller_default_proportion[m->pertag->curtag];
|
||||
}
|
||||
|
||||
if (!c->iscustom_scroller_proportion_single) {
|
||||
c->scroller_proportion_single =
|
||||
m->pertag->scroller_default_proportion_single[m->pertag->curtag];
|
||||
}
|
||||
}
|
||||
|
||||
void resize_tile_master_horizontal(Client *grabc, bool isdrag, int32_t offsetx,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue