From db4bcfcb81ffc9e5ea979cbbade2d219696813ff Mon Sep 17 00:00:00 2001 From: Zedhugh Chen Date: Sun, 14 Dec 2025 17:14:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20xwindow=5Fget=5Ftext=5Fpro?= =?UTF-8?q?perty=20=E5=87=BD=E6=95=B0=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/xwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xwindow.c b/src/xwindow.c index 41050f7..9870080 100644 --- a/src/xwindow.c +++ b/src/xwindow.c @@ -184,7 +184,7 @@ void xwindow_get_text_property(xcb_window_t window, xcb_atom_t property, if (out == nullptr) return; xcb_get_property_cookie_t cookie = xcb_get_property_unchecked( - wm.xcb_conn, false, window, property, XCB_ATOM_STRING, 0, UINT32_MAX); + wm.xcb_conn, false, window, property, XCB_ATOM_ANY, 0, UINT32_MAX); xcb_get_property_reply_t *reply = xcb_get_property_reply(wm.xcb_conn, cookie, nullptr); int length = xcb_get_property_value_length(reply);