devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f877f6c09f06a26bedd7b3fac24f8227b32d8e18

commit f877f6c09f06a26bedd7b3fac24f8227b32d8e18
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Feb 13 11:08:32 2018 -0500

    ecore-drm2: Account for output relative mode when getting cloned value
    
    As an output may have it's relative mode set to clone from the E randr
    dialog, we should account for that also when returning output cloned
    mode.
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_drm2/ecore_drm2_outputs.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c 
b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index 79a22c5363..87c50375be 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -1381,7 +1381,8 @@ EAPI Eina_Bool
 ecore_drm2_output_cloned_get(Ecore_Drm2_Output *output)
 {
    EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE);
-   return output->cloned;
+   return (output->cloned ||
+           output->relative.mode == ECORE_DRM2_RELATIVE_CLONE);
 }
 
 EAPI unsigned int

-- 


Reply via email to