summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2018-01-31 11:16:51 -0500
committerChris Michael <cp.michael@samsung.com>2018-01-31 11:18:03 -0500
commit49e9812f04191265a5d02fddb0ff725e12d0ec20 (patch)
tree5ccb46ed752fa5f6f9032f6cbd33a3ae84ac9678
parent99d44cd9c7903abe62b565d060b95ade4451f0a5 (diff)
ecore-drm2: Account for output relative mode when getting cloned valuedevs/devilhorns/wip
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.michael@samsung.com>
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index e0b1271e64..b2a5d68f8e 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -1377,7 +1377,7 @@ EAPI Eina_Bool
1377ecore_drm2_output_cloned_get(Ecore_Drm2_Output *output) 1377ecore_drm2_output_cloned_get(Ecore_Drm2_Output *output)
1378{ 1378{
1379 EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE); 1379 EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE);
1380 return output->cloned; 1380 return (output->cloned || (output->relative.mode == ECORE_DRM2_RELATIVE_CLONE));
1381} 1381}
1382 1382
1383EAPI unsigned int 1383EAPI unsigned int