summarylogtreecommitdiffstats
path: root/fix-configure_notify-event.patch
diff options
context:
space:
mode:
authorhafeoz2023-03-04 19:04:08 +0000
committerhafeoz2023-03-04 19:04:08 +0000
commit9aad22d5294ca897164c7f1b78fad5a84beb3102 (patch)
treee03bcb8a50b608ffe1315faa8ad15f255508f40c /fix-configure_notify-event.patch
parentf18fe3e35171b72608ae2fb7fffd3f2ae5be66bc (diff)
downloadaur-9aad22d5294ca897164c7f1b78fad5a84beb3102.tar.gz
Another attempt to fix everything by stealing from hyprland-hidpi-xprop-git
Diffstat (limited to 'fix-configure_notify-event.patch')
-rw-r--r--fix-configure_notify-event.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/fix-configure_notify-event.patch b/fix-configure_notify-event.patch
new file mode 100644
index 000000000000..c80f4795d8ea
--- /dev/null
+++ b/fix-configure_notify-event.patch
@@ -0,0 +1,31 @@
+From 950808724d20d8daa1e26d7a0ae322eda14cd1cc Mon Sep 17 00:00:00 2001
+From: q234rty <q23456yuiop@gmail.com>
+Date: Tue, 21 Feb 2023 23:56:26 +0800
+Subject: [PATCH 2/2] 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 8449977e..2cce8a26 100644
+--- a/xwayland/xwm.c
++++ b/xwayland/xwm.c
+@@ -1809,10 +1809,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.39.2
+