forked from enlightenment/efl
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:
parent
12dc91590d
commit
dcda62c04e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue