summarylogtreecommitdiffstats
path: root/0002-Fix-configure_notify-event.patch
diff options
context:
space:
mode:
authorlilac2023-08-21 20:19:11 +0800
committerlilac2023-08-21 20:19:11 +0800
commit8625cd5f63d5eac4f237f35d77e9f3270d0648f5 (patch)
tree7d05610390553062489a49a5d58beb02c298053e /0002-Fix-configure_notify-event.patch
parentf3984798c81abdda54429e3d8ebf910eb374f6b3 (diff)
downloadaur-8625cd5f63d5eac4f237f35d77e9f3270d0648f5.tar.gz
[lilac] updated to 0.28.0.r75.63b2189c-1
Diffstat (limited to '0002-Fix-configure_notify-event.patch')
-rw-r--r--0002-Fix-configure_notify-event.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/0002-Fix-configure_notify-event.patch b/0002-Fix-configure_notify-event.patch
new file mode 100644
index 000000000000..6fdf60ff1704
--- /dev/null
+++ b/0002-Fix-configure_notify-event.patch
@@ -0,0 +1,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
+