fix: error clip width height
This commit is contained in:
@@ -1221,7 +1221,7 @@ struct uvec2 clip_to_hide(Client *c, struct wlr_box *clip_box) {
|
|||||||
clip_box->width =
|
clip_box->width =
|
||||||
clip_box->width -
|
clip_box->width -
|
||||||
(c->animation.current.x + c->animation.current.width -
|
(c->animation.current.x + c->animation.current.width -
|
||||||
c->mon->m.x - c->mon->m.width) +
|
c->mon->m.x - c->mon->m.width) -
|
||||||
c->bw;
|
c->bw;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1235,7 +1235,7 @@ struct uvec2 clip_to_hide(Client *c, struct wlr_box *clip_box) {
|
|||||||
clip_box->height =
|
clip_box->height =
|
||||||
clip_box->height -
|
clip_box->height -
|
||||||
(c->animation.current.y + c->animation.current.height -
|
(c->animation.current.y + c->animation.current.height -
|
||||||
c->mon->m.y - c->mon->m.height) +
|
c->mon->m.y - c->mon->m.height) -
|
||||||
c->bw;
|
c->bw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user