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:
Chris Michael 2015-05-14 09:17:02 -04:00
parent eaf2b91a3d
commit 066ca5ffdd
1 changed files with 1 additions and 1 deletions

View File

@ -1441,7 +1441,7 @@ ecore_drm_output_mode_set(Ecore_Drm_Output *output, Ecore_Drm_Output_Mode *mode,
output->y = y;
output->current_mode = mode;
if ((mode) && (output->enabled))
if (mode)
{
if (dev->current)
buffer = dev->current->id;