From 2a567195e61a1d3478686e6c30c8014f5d8d29b1 Mon Sep 17 00:00:00 2001 From: save196 Date: Tue, 15 Sep 2026 17:33:36 +0000 Subject: [PATCH] don't use the xdg window geometry offset as a position It is the offset of the visible bounds inside the surface, which is not zero for clients that pad their surface or place subsurfaces outside it, so floating windows were mapped offset by their client side decorations. --- client.h | 1 + 1 file changed, 1 insertion(+) diff --git a/client.h b/client.h index dc0615e..eb1bb47 100644 --- a/client.h +++ b/client.h @@ -189,6 +189,7 @@ client_get_geometry(Client *c, struct wlr_box *geom) } #endif *geom = c->surface.xdg->geometry; + geom->x = geom->y = 0; } static inline Client *