summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-01-21 11:35:45 -0500
committerChris Michael <cpmichael@osg.samsung.com>2016-01-21 11:35:45 -0500
commite0c36d27f56ae207b5a969d53bf7eba2d67e38a7 (patch)
tree0413d98a92a5566be95d5ab592b9f19f594ea76c /src/lib/ecore_drm
parent4ba349be4f6706d6049d54e1f60f2716c41edec5 (diff)
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>
Diffstat (limited to 'src/lib/ecore_drm')
-rw-r--r--src/lib/ecore_drm/ecore_drm_launcher.c2
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 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
57ecore_drm_launcher_connect(Ecore_Drm_Device *dev) 57ecore_drm_launcher_connect(Ecore_Drm_Device *dev)
58{ 58{
59 EINA_SAFETY_ON_NULL_RETURN_VAL(dev, EINA_FALSE); 59 EINA_SAFETY_ON_NULL_RETURN_VAL(dev, EINA_FALSE);
60
60 /* try to connect to logind */ 61 /* try to connect to logind */
61 if (!(logind = _ecore_drm_logind_connect(dev))) 62 if (!(logind = _ecore_drm_logind_connect(dev)))
62 { 63 {
@@ -100,7 +101,6 @@ ecore_drm_launcher_disconnect(Ecore_Drm_Device *dev)
100 else 101 else
101 { 102 {
102 _ecore_drm_logind_disconnect(dev); 103 _ecore_drm_logind_disconnect(dev);
103 logind = EINA_FALSE;
104 } 104 }
105} 105}
106 106