mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-31 22:25:29 -04:00
fix: error clip width height
This commit is contained in:
parent
1bbf6adbc9
commit
e0c3101c0c
1 changed files with 2 additions and 2 deletions
|
|
@ -1221,7 +1221,7 @@ struct uvec2 clip_to_hide(Client *c, struct wlr_box *clip_box) {
|
|||
clip_box->width =
|
||||
clip_box->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;
|
||||
}
|
||||
|
||||
|
|
@ -1235,7 +1235,7 @@ struct uvec2 clip_to_hide(Client *c, struct wlr_box *clip_box) {
|
|||
clip_box->height =
|
||||
clip_box->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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue