1
0
Fork 0
forked from wry/wry

xdg_positioner: fix handling of y offset

This commit is contained in:
Julian Orth 2024-10-17 16:02:07 +02:00
parent c987fdb58d
commit d95a2d2f2e

View file

@ -102,7 +102,7 @@ impl XdgPositioned {
}
let mut x1 = self.off_x;
let mut y1 = self.off_x;
let mut y1 = self.off_y;
if anchor.contains(E_LEFT) {
x1 += self.ar.x1();