From 8ac231fb4be02c24d4cc1f453efb38d3d4a48bf6 Mon Sep 17 00:00:00 2001 From: Zedhugh Chen Date: Sat, 16 Aug 2025 05:34:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A3=80=E6=B5=8B=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E7=AA=97=E5=8F=A3=E7=AE=A1=E7=90=86=E5=99=A8=E5=A4=B1?= =?UTF-8?q?=E6=95=88=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/xcb/xcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xcb/xcb.c b/src/xcb/xcb.c index 2d64d81..4a57f09 100644 --- a/src/xcb/xcb.c +++ b/src/xcb/xcb.c @@ -39,7 +39,7 @@ bool has_other_wm_running(void) { XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY, }; xcb_void_cookie_t cookie = - xcb_aux_change_window_attributes(conn, screen->root, mask, ¶ms); + xcb_aux_change_window_attributes_checked(conn, screen->root, mask, ¶ms); xcb_generic_error_t *error = xcb_request_check(conn, cookie); if (error) { xcb_disconnect(conn);