mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-05 04:06:28 -05:00
fix: stack proportion miss reset when exit scroller stack
This commit is contained in:
parent
59ca7c0fc1
commit
df582bd47b
2 changed files with 2 additions and 1 deletions
|
|
@ -493,7 +493,7 @@ void resize_tile_scroller(Client *grabc, bool isdrag, int32_t offsetx,
|
|||
Client *stack_head = get_scroll_stack_head(grabc);
|
||||
Client *iter = stack_head;
|
||||
|
||||
while(iter) {
|
||||
while (iter) {
|
||||
iter->scroller_proportion = grabc->scroller_proportion;
|
||||
iter = iter->next_in_stack;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4665,6 +4665,7 @@ void exit_scroller_stack(Client *c) {
|
|||
|
||||
c->prev_in_stack = NULL;
|
||||
c->next_in_stack = NULL;
|
||||
c->stack_proportion = 0.0f;
|
||||
}
|
||||
|
||||
void setmaximizescreen(Client *c, int32_t maximizescreen) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue