Summary: Makes more sense to set the output's connected property
inside the function which creates outputs.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
output->model = eina_stringshare_add("UNKNOWN");
output->name = eina_stringshare_add("UNKNOWN");
+ output->connected = (conn->connection == DRM_MODE_CONNECTED);
output->conn_type = conn->connector_type;
if (conn->connector_type < ALEN(conn_types))
type = conn_types[conn->connector_type];
_ecore_drm_output_create(dev, res, conn, x, y, EINA_FALSE)))
goto next;
- output->connected = (conn->connection == DRM_MODE_CONNECTED);
-
x += output->current_mode->width;
next: