From 945f777593c2b7da78fddad6dffcc7dcff5b9c03 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Wed, 24 Jan 2024 12:42:18 +0300 Subject: [PATCH] xwayland/xwm: associate even on xcb_get_property() failure This matches the behavior before f5797be8a8d410e22fa6397b2217a6a81858d05c. (cherry picked from commit f91fc445ffeb7d6be990e98c5951d91a872f49a9) --- xwayland/xwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwayland/xwm.c b/xwayland/xwm.c index 2c437e839..1ae53e262 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -935,7 +935,7 @@ static void xwayland_surface_associate(struct wlr_xwm *xwm, xcb_get_property_reply(xwm->xcb_conn, cookies[i], NULL); if (reply == NULL) { wlr_log(WLR_ERROR, "Failed to get window property"); - return; + continue; } read_surface_property(xwm, xsurface, props[i], reply); free(reply);