devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=066ca5ffdd0955ce6a1c759dfda18da0c1dcae4f

commit 066ca5ffdd0955ce6a1c759dfda18da0c1dcae4f
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Thu May 14 09:17:02 2015 -0400

    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.mich...@samsung.com>
---
 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 3c2c04c..e1b0b15 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;

-- 


Reply via email to