diff options
author | Chris Michael <cp.michael@samsung.com> | 2015-04-07 12:32:15 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2015-04-08 14:03:48 -0400 |
commit | 9c227fb56bc163326b21e29de36aecd7d4630fab (patch) | |
tree | 1b634538664de246666e2eb1a35a27f341de8df6 | |
parent | 061967f67a453565c3b1a4a2b570cd469b961d76 (diff) | |
download | efl-9c227fb56bc163326b21e29de36aecd7d4630fab.tar.gz |
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>
-rw-r--r-- | src/lib/ecore_drm/ecore_drm_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_output.c b/src/lib/ecore_drm/ecore_drm_output.c index 287c4bf9ac..58761412c4 100644 --- a/src/lib/ecore_drm/ecore_drm_output.c +++ b/src/lib/ecore_drm/ecore_drm_output.c @@ -1019,7 +1019,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; |