aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2024-01-24 12:42:18 +0300
committerKirill Primak <vyivel@eclair.cafe>2024-01-24 12:42:18 +0300
commitf91fc445ffeb7d6be990e98c5951d91a872f49a9 (patch)
tree3712cb08036252a18e63507301d0e2dab78c70a2
parent98c708618ec09907748082850b2d4340fc63055e (diff)
xwayland/xwm: associate even on xcb_get_property() failure
This matches the behavior before f5797be8a8d410e22fa6397b2217a6a81858d05c.
-rw-r--r--xwayland/xwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index 88b2fe56..d728f405 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -938,7 +938,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);