devilhorns pushed a commit to branch master.

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

commit c6b997eb172d10a91968c7461ecec0938c8444b5
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Jun 23 11:01:22 2015 -0400

    ecore-drm: Fix issue of outputs not getting registered with the wayland 
registry
    
    Summary: This fixes T2465: QT5 apps don't work. The issue here is that
    when the randr code runs in E we make calls to
    ecore_drm_output_enable/disable which is supposed to register the
    outputs with the wayland registry. This was not happening due to the
    enable/disabled checks at the top of these functions.
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_drm/ecore_drm_output.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/lib/ecore_drm/ecore_drm_output.c 
b/src/lib/ecore_drm/ecore_drm_output.c
index 892c20f..e9da98c 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -960,8 +960,6 @@ ecore_drm_output_enable(Ecore_Drm_Output *output)
 {
    EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE);
 
-   if (output->enabled) return EINA_TRUE;
-
    output->enabled = EINA_TRUE;
    ecore_drm_output_dpms_set(output, DRM_MODE_DPMS_ON);
 
@@ -975,8 +973,6 @@ ecore_drm_output_disable(Ecore_Drm_Output *output)
 {
    EINA_SAFETY_ON_NULL_RETURN(output);
 
-   if (!output->enabled) return;
-
    output->enabled = EINA_FALSE;
    ecore_drm_output_dpms_set(output, DRM_MODE_DPMS_OFF);
 

-- 


Reply via email to