diff options
author | Chris Michael <cpmichael@osg.samsung.com> | 2016-01-21 11:35:45 -0500 |
---|---|---|
committer | Chris Michael <cpmichael@osg.samsung.com> | 2016-01-21 11:35:45 -0500 |
commit | e0c36d27f56ae207b5a969d53bf7eba2d67e38a7 (patch) | |
tree | 0413d98a92a5566be95d5ab592b9f19f594ea76c | |
parent | 4ba349be4f6706d6049d54e1f60f2716c41edec5 (diff) | |
download | efl-e0c36d27f56ae207b5a969d53bf7eba2d67e38a7.tar.gz |
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 <cpmichael@osg.samsung.com>
-rw-r--r-- | src/lib/ecore_drm/ecore_drm_launcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_launcher.c b/src/lib/ecore_drm/ecore_drm_launcher.c index 72dd140ab2..ff24c90073 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; } } |