fix: miss judge isdrag when resize stack in scroller

This commit is contained in:
DreamMaoMao 2026-03-08 08:45:56 +08:00
parent cfe492fbc4
commit a4ad8d0d19

View file

@ -655,7 +655,7 @@ void resize_tile_scroller(Client *grabc, bool isdrag, int32_t offsetx,
stack_head->scroller_proportion = new_scroller_proportion;
wl_list_for_each(tc, &clients, link) {
if (new_stack_proportion != 1.0f &&
if (!isdrag && new_stack_proportion != 1.0f &&
grabc->old_stack_proportion != 1.0f && tc != grabc &&
ISTILED(tc) && get_scroll_stack_head(tc) == stack_head) {
tc->stack_proportion = (1.0f - new_stack_proportion) /