forked from enlightenment/efl
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:
parent
8d1e57e52e
commit
53002d385e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue