compositor-drm: Be patient when output creation fails

Do not fail if e.g. only one of 3 connectors cant be enabled.
Could be that we just have not enough crtcs available.
dev
Benjamin Franzke 13 years ago
parent c18366d1e9
commit 439d98697a
  1. 6
      compositor/compositor-drm.c

@ -570,8 +570,10 @@ create_outputs(struct drm_compositor *ec, int option_connector)
(option_connector == 0 ||
connector->connector_id == option_connector)) {
if (create_output_for_connector(ec, resources,
connector, x, y) < 0)
return -1;
connector, x, y) < 0) {
drmModeFreeConnector(connector);
continue;
}
x += container_of(ec->base.output_list.prev,
struct wlsc_output,

Loading…
Cancel
Save