forked from enlightenment/efl
ecore-drm: Ignore output enabled flag when setting output mode
Summary: We really do not need to check the enable flag here because if we are setting a valid mode, then we will be enabled anyway NB: This makes it actually possible to Enable/Disable outputs in the RandR config dialog of E-Wl ;) @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
eaf2b91a3d
commit
066ca5ffdd
|
@ -1441,7 +1441,7 @@ ecore_drm_output_mode_set(Ecore_Drm_Output *output, Ecore_Drm_Output_Mode *mode,
|
||||||
output->y = y;
|
output->y = y;
|
||||||
output->current_mode = mode;
|
output->current_mode = mode;
|
||||||
|
|
||||||
if ((mode) && (output->enabled))
|
if (mode)
|
||||||
{
|
{
|
||||||
if (dev->current)
|
if (dev->current)
|
||||||
buffer = dev->current->id;
|
buffer = dev->current->id;
|
||||||
|
|
Loading…
Reference in New Issue