mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-27 07:58:53 -04:00
fix: miss judge isdrag when resize stack in scroller
This commit is contained in:
parent
443809a43d
commit
bc34afae58
1 changed files with 1 additions and 1 deletions
|
|
@ -655,7 +655,7 @@ void resize_tile_scroller(Client *grabc, bool isdrag, int32_t offsetx,
|
||||||
stack_head->scroller_proportion = new_scroller_proportion;
|
stack_head->scroller_proportion = new_scroller_proportion;
|
||||||
|
|
||||||
wl_list_for_each(tc, &clients, link) {
|
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 &&
|
grabc->old_stack_proportion != 1.0f && tc != grabc &&
|
||||||
ISTILED(tc) && get_scroll_stack_head(tc) == stack_head) {
|
ISTILED(tc) && get_scroll_stack_head(tc) == stack_head) {
|
||||||
tc->stack_proportion = (1.0f - new_stack_proportion) /
|
tc->stack_proportion = (1.0f - new_stack_proportion) /
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue