forked from pyrite-dev/milsko
fix
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--) {
|
for(i = arrlen(ws) - 2; i >= 0; i--) {
|
||||||
x += ws[i]->wayland.x;
|
x += ws[i]->wayland.x;
|
||||||
y += ws[i]->wayland.y;
|
y += ws[i]->wayland.y;
|
||||||
w = MIN(ws[i]->wayland.ww - x, w);
|
w = MIN(ws[i]->wayland.ww - ws[i]->wayland.x, w);
|
||||||
h = MIN(ws[i]->wayland.wh - y, h);
|
h = MIN(ws[i]->wayland.wh - ws[i]->wayland.y, h);
|
||||||
}
|
}
|
||||||
cx = -x;
|
cx = -x;
|
||||||
cy = -y;
|
cy = -y;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue