ecore-drm: Fix issue of outputs_geometry_get not skipping cloned outputs

Summary: When we make the call to outputs_geometry_get, we should NOT
include cloned outputs in the final size.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-04-07 13:10:35 -04:00 committed by Stefan Schmidt
parent 8d1e57e52e
commit 53002d385e
1 changed files with 1 additions and 0 deletions

View File

@ -1024,6 +1024,7 @@ ecore_drm_outputs_geometry_get(Ecore_Drm_Device *dev, int *x, int *y, int *w, in
EINA_LIST_FOREACH(dev->outputs, l, output)
{
if (output->cloned) continue;
ox += output->x;
oy += output->y;
ow += MAX(ow, output->current_mode->width);