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.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-04-07 12:32:15 -04:00 committed by Stefan Schmidt
parent 12dc91590d
commit dcda62c04e
1 changed files with 1 additions and 1 deletions

View File

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