This commit is contained in:
parent
42d6ca171e
commit
76a82c821e
1 changed files with 2 additions and 2 deletions
|
|
@ -1746,8 +1746,8 @@ static void clip(MwLL handle) {
|
|||
for(i = arrlen(ws) - 2; i >= 0; i--) {
|
||||
x += ws[i]->wayland.x;
|
||||
y += ws[i]->wayland.y;
|
||||
w = MIN(ws[i]->wayland.ww - x, w);
|
||||
h = MIN(ws[i]->wayland.wh - y, h);
|
||||
w = MIN(ws[i]->wayland.ww - ws[i]->wayland.x, w);
|
||||
h = MIN(ws[i]->wayland.wh - ws[i]->wayland.y, h);
|
||||
}
|
||||
cx = -x;
|
||||
cy = -y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue