xwayland/xwm: associate even on xcb_get_property() failure

This matches the behavior before f5797be8a8.
This commit is contained in:
Kirill Primak 2024-01-24 12:42:18 +03:00
parent 98c708618e
commit f91fc445ff

View file

@ -938,7 +938,7 @@ static void xwayland_surface_associate(struct wlr_xwm *xwm,
xcb_get_property_reply(xwm->xcb_conn, cookies[i], NULL); xcb_get_property_reply(xwm->xcb_conn, cookies[i], NULL);
if (reply == NULL) { if (reply == NULL) {
wlr_log(WLR_ERROR, "Failed to get window property"); wlr_log(WLR_ERROR, "Failed to get window property");
return; continue;
} }
read_surface_property(xwm, xsurface, props[i], reply); read_surface_property(xwm, xsurface, props[i], reply);
free(reply); free(reply);