devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=e8754ee9d2c68f616eb7e5e9e9a79488c6e70336
commit e8754ee9d2c68f616eb7e5e9e9a79488c6e70336 Author: Chris Michael <cp.mich...@samsung.com> Date: Wed May 6 09:41:03 2015 -0400 ecore-drm: Set output connected property in the creation function Summary: Makes more sense to set the output's connected property inside the function which creates outputs. @fix Signed-off-by: Chris Michael <cp.mich...@samsung.com> --- src/lib/ecore_drm/ecore_drm_output.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/ecore_drm/ecore_drm_output.c b/src/lib/ecore_drm/ecore_drm_output.c index 5a1f531..2e91909 100644 --- a/src/lib/ecore_drm/ecore_drm_output.c +++ b/src/lib/ecore_drm/ecore_drm_output.c @@ -422,6 +422,7 @@ _ecore_drm_output_create(Ecore_Drm_Device *dev, drmModeRes *res, drmModeConnecto 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]; @@ -888,8 +889,6 @@ ecore_drm_outputs_create(Ecore_Drm_Device *dev) _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: --