From a0426c4f70cedacb512c27e17f0139aff0b366ff Mon Sep 17 00:00:00 2001 From: korei999 Date: Tue, 6 Aug 2024 16:42:39 +0300 Subject: [PATCH] `client_set_size`: fix x11 coordinates offset --- client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.h b/client.h index c43dbfd..5359858 100644 --- a/client.h +++ b/client.h @@ -350,7 +350,7 @@ client_set_size(Client *c, uint32_t width, uint32_t height) #ifdef XWAYLAND if (client_is_x11(c)) { wlr_xwayland_surface_configure(c->surface.xwayland, - c->geom.x + c->bw, c->geom.y + c->bw, width, height); + c->geom.x, c->geom.y, width, height); return 0; } #endif