From dcda62c04eb40cc1af732ace995299c0c72d19d7 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 7 Apr 2015 12:32:15 -0400 Subject: [PATCH] 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 --- 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 ab7ee31e03..36c4f09a76 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;