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.
This commit is contained in:
save196
2026-09-20 19:53:12 +03:00
parent cc23250527
commit 2a567195e6
+1
View File
@@ -189,6 +189,7 @@ client_get_geometry(Client *c, struct wlr_box *geom)
} }
#endif #endif
*geom = c->surface.xdg->geometry; *geom = c->surface.xdg->geometry;
geom->x = geom->y = 0;
} }
static inline Client * static inline Client *