diff --git a/maomao.c b/maomao.c index 26b6986..d28dd41 100644 --- a/maomao.c +++ b/maomao.c @@ -1049,7 +1049,7 @@ struct uvec2 clip_to_hide(Client *c, struct wlr_box *clip_box) { c->mon->m.x + c->mon->m.width) { 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; } if (c->animation.current.y <= c->mon->m.y) { @@ -1060,7 +1060,7 @@ struct uvec2 clip_to_hide(Client *c, struct wlr_box *clip_box) { c->mon->m.y + c->mon->m.height) { 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; } }