~ruther/dwl

2a567195e61a1d3478686e6c30c8014f5d8d29b1 — save196 2 months ago cc23250
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.
1 files changed, 1 insertions(+), 0 deletions(-)

M client.h
M client.h => client.h +1 -0
@@ 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 *