mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-10 05:34:05 -04:00
fix: fix error offset for shadow and surface clip
This commit is contained in:
parent
d3790e9c7a
commit
35dd788ca3
2 changed files with 13 additions and 15 deletions
|
|
@ -127,8 +127,8 @@ static inline void client_get_clip(Client *c, struct wlr_box *clip) {
|
|||
*clip = (struct wlr_box){
|
||||
.x = 0,
|
||||
.y = 0,
|
||||
.width = c->geom.width - c->bw,
|
||||
.height = c->geom.height - c->bw,
|
||||
.width = c->geom.width - 2 * c->bw,
|
||||
.height = c->geom.height - 2 * c->bw,
|
||||
};
|
||||
|
||||
#ifdef XWAYLAND
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue