xwayland/xwm: associate even on xcb_get_property() failure

This matches the behavior before f5797be8a8.

(cherry picked from commit f91fc445ff)
This commit is contained in:
Kirill Primak 2024-01-24 12:42:18 +03:00 committed by Simon Zeni
parent 82278edf3c
commit 945f777593

View file

@ -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);