From d95a2d2f2e3d77458a2bfbe92cfe5ab71cbf44a0 Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Thu, 17 Oct 2024 16:02:07 +0200 Subject: [PATCH] xdg_positioner: fix handling of y offset --- src/ifs/xdg_positioner.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifs/xdg_positioner.rs b/src/ifs/xdg_positioner.rs index 07a6d233..4538536c 100644 --- a/src/ifs/xdg_positioner.rs +++ b/src/ifs/xdg_positioner.rs @@ -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();