summarylogtreecommitdiffstats
path: root/0002-Fix-configure_notify-event.patch
blob: 6fdf60ff1704b644ec5d5ca9b21414a5d8437e52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From c9315b2f8c84d5f1b0b14f863af6f73bc3ac95c5 Mon Sep 17 00:00:00 2001
From: q234rty <q23456yuiop@gmail.com>
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 59e9ce06..295f4d49 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -1807,10 +1807,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.41.0