diff options
author | Chris Michael <cp.michael@samsung.com> | 2018-01-31 11:16:51 -0500 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2018-01-31 11:18:03 -0500 |
commit | 49e9812f04191265a5d02fddb0ff725e12d0ec20 (patch) | |
tree | 5ccb46ed752fa5f6f9032f6cbd33a3ae84ac9678 | |
parent | 99d44cd9c7903abe62b565d060b95ade4451f0a5 (diff) | |
download | efl-devs/devilhorns/wip.tar.gz |
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.c | 2 |
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 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 |