On 06/30/2014 07:14 AM, Stefan Schmidt wrote:
> 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.
> ---

Exactly what it was there for !! :)

dh


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


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to