From 066ca5ffdd0955ce6a1c759dfda18da0c1dcae4f Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 14 May 2015 09:17:02 -0400 Subject: [PATCH] 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 --- src/lib/ecore_drm/ecore_drm_output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_drm/ecore_drm_output.c b/src/lib/ecore_drm/ecore_drm_output.c index 3c2c04c6c8..e1b0b157e6 100644 --- a/src/lib/ecore_drm/ecore_drm_output.c +++ b/src/lib/ecore_drm/ecore_drm_output.c @@ -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;