opt: optimize var name

This commit is contained in:
DreamMaoMao 2025-07-15 16:18:16 +08:00
parent 669095a157
commit 53c6442ca3
4 changed files with 10 additions and 10 deletions

View file

@ -375,7 +375,7 @@ void scroller(Monitor *m) {
for (i = 0; i < n; i++) {
c = tempClients[i];
if (root_client == c) {
if (!c->is_open_animation &&
if (!c->is_pending_open_animation &&
c->geom.x >= m->w.x + scroller_structs &&
c->geom.x + c->geom.width <=
m->w.x + m->w.width - scroller_structs) {

View file

@ -360,7 +360,7 @@ void vertical_scroller(Monitor *m) {
for (i = 0; i < n; i++) {
c = tempClients[i];
if (root_client == c) {
if (!c->is_open_animation &&
if (!c->is_pending_open_animation &&
c->geom.y >= m->w.y + scroller_structs &&
c->geom.y + c->geom.height <=
m->w.y + m->w.height - scroller_structs) {