summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-04-07 13:10:35 -0400
committerChris Michael <cp.michael@samsung.com>2015-04-08 14:03:49 -0400
commitadfff7c05efd5d6fdd9cba23e3b5ee88e44f8f88 (patch)
treee1fd3cbb0cbb8e9fd7ed6092a9095ec2d897e753
parent0722632c7874cf7474369782055d7042bb212ff9 (diff)
downloadefl-adfff7c05efd5d6fdd9cba23e3b5ee88e44f8f88.tar.gz
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>
-rw-r--r--src/lib/ecore_drm/ecore_drm_output.c1
1 files changed, 1 insertions, 0 deletions
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);