xwayland/xwm: associate even on xcb_get_property() failure

This matches the behavior before f5797be8a8.
master
Kirill Primak 10 months ago
parent 98c708618e
commit f91fc445ff

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

Loading…
Cancel
Save