From 53002d385e0ee02b961493a5d1b7798064d7221c Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 7 Apr 2015 13:10:35 -0400 Subject: [PATCH] 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 --- src/lib/ecore_drm/ecore_drm_output.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/ecore_drm/ecore_drm_output.c b/src/lib/ecore_drm/ecore_drm_output.c index 7bced0c9aa..988ddf08a2 100644 --- a/src/lib/ecore_drm/ecore_drm_output.c +++ b/src/lib/ecore_drm/ecore_drm_output.c @@ -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);