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.michael@samsung.com>
This commit is contained in:
parent
a2a29f6ec1
commit
f877f6c09f
|
@ -1381,7 +1381,8 @@ EAPI Eina_Bool
|
||||||
ecore_drm2_output_cloned_get(Ecore_Drm2_Output *output)
|
ecore_drm2_output_cloned_get(Ecore_Drm2_Output *output)
|
||||||
{
|
{
|
||||||
EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE);
|
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
|
EAPI unsigned int
|
||||||
|
|
Loading…
Reference in New Issue