From 00ab2bf6ed70908357f4c1ca2204e83858d6de02 Mon Sep 17 00:00:00 2001 From: q234rty Date: Tue, 21 Feb 2023 23:56:26 +0800 Subject: [PATCH 2/3] Fix configure_notify event --- xwayland/xwm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xwayland/xwm.c b/xwayland/xwm.c index 8167a2fc..1c8cab70 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -1812,10 +1812,10 @@ void wlr_xwayland_surface_configure(struct wlr_xwayland_surface *xsurface, .response_type = XCB_CONFIGURE_NOTIFY, .event = xsurface->window_id, .window = xsurface->window_id, - .x = x, - .y = y, - .width = width, - .height = height, + .x = values[0], + .y = values[1], + .width = values[2], + .height = values[3], }; xcb_send_event(xwm->xcb_conn, 0, xsurface->window_id, -- 2.42.0