devilhorns pushed a commit to branch master.

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

commit e0c36d27f56ae207b5a969d53bf7eba2d67e38a7
Author: Chris Michael <cpmich...@osg.samsung.com>
Date:   Thu Jan 21 11:35:45 2016 -0500

    ecore-drm: Don't unset logind variable when disconnecting a device
    
    For a case where we have more than one device open, if we set the
    'logind' variable to false, then the second device would never close
    properly.
    
    @fix
    
    Signed-off-by: Chris Michael <cpmich...@osg.samsung.com>
---
 src/lib/ecore_drm/ecore_drm_launcher.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_drm/ecore_drm_launcher.c 
b/src/lib/ecore_drm/ecore_drm_launcher.c
index 72dd140..ff24c90 100644
--- a/src/lib/ecore_drm/ecore_drm_launcher.c
+++ b/src/lib/ecore_drm/ecore_drm_launcher.c
@@ -57,6 +57,7 @@ EAPI Eina_Bool
 ecore_drm_launcher_connect(Ecore_Drm_Device *dev)
 {
    EINA_SAFETY_ON_NULL_RETURN_VAL(dev, EINA_FALSE);
+
    /* try to connect to logind */
    if (!(logind = _ecore_drm_logind_connect(dev)))
      {
@@ -100,7 +101,6 @@ ecore_drm_launcher_disconnect(Ecore_Drm_Device *dev)
    else
      {
         _ecore_drm_logind_disconnect(dev);
-        logind = EINA_FALSE;
      }
 }
 

-- 


Reply via email to