stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=dcda62c04eb40cc1af732ace995299c0c72d19d7

commit dcda62c04eb40cc1af732ace995299c0c72d19d7
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Apr 7 12:32:15 2015 -0400

    ecore-drm: Fix output_geometry_get function
    
    Summary: This fixes an issue where heights of all outputs would get
    added, thus causing the ecore_evas to be created at the wrong size.
    Now, the height will be whichever output is larger.
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_drm/ecore_drm_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_drm/ecore_drm_output.c 
b/src/lib/ecore_drm/ecore_drm_output.c
index ab7ee31..36c4f09 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -1015,7 +1015,7 @@ ecore_drm_outputs_geometry_get(Ecore_Drm_Device *dev, int 
*x, int *y, int *w, in
         ox += output->x;
         oy += output->y;
         ow += MAX(ow, output->current_mode->width);
-        oh += MAX(oh, output->current_mode->height);
+        oh = MAX(oh, output->current_mode->height);
      }
 
    if (x) *x = ox;

-- 


Reply via email to