stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=4c0f9da2b9bf9c36c5e33c2cb9683c4fd700a0c0
commit 4c0f9da2b9bf9c36c5e33c2cb9683c4fd700a0c0 Author: Stefan Schmidt <[email protected]> Date: Fri Jun 27 11:03:55 2014 +0200 ecore_drm: Iterate over all available connectors not just the first Maybe this was here for some debugging? It does not make any sense though to loop over all connectors but break out of the loop after the first run. --- src/lib/ecore_drm/ecore_drm_output.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/ecore_drm/ecore_drm_output.c b/src/lib/ecore_drm/ecore_drm_output.c index 82cb51e..b4abdd6 100644 --- a/src/lib/ecore_drm/ecore_drm_output.c +++ b/src/lib/ecore_drm/ecore_drm_output.c @@ -486,7 +486,6 @@ ecore_drm_outputs_create(Ecore_Drm_Device *dev) for (i = 0; i < res->count_connectors; i++) { - if (i > 0) break; /* get the connector */ if (!(conn = drmModeGetConnector(dev->drm.fd, res->connectors[i]))) continue; --
