mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-09 05:34:17 -04:00
fix: wrong scroll judge when disable animaitons
This commit is contained in:
parent
e22cf99e74
commit
e7cb4f77f3
2 changed files with 2 additions and 2 deletions
|
|
@ -263,7 +263,7 @@ void vertical_scroller(Monitor *m) {
|
|||
for (i = 0; i < n; i++) {
|
||||
c = tempClients[i];
|
||||
if (root_client == c) {
|
||||
if (!c->is_pending_open_animation &&
|
||||
if ((!c->is_pending_open_animation || !animations) &&
|
||||
c->geom.y >= m->w.y + scroller_structs &&
|
||||
c->geom.y + c->geom.height <=
|
||||
m->w.y + m->w.height - scroller_structs) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue