summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput_manager.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-05-24 16:11:20 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-05-25 12:57:27 -0400
commit5f088b026d8f39aafc6b6e70fe3b04dff79b179e (patch)
tree06909671c2b23b105009d19608f7a7d7e108cf2a /src/lib/elput/elput_manager.c
parent33a5d44dcf36557b13aeba1088461504bae97373 (diff)
elput: define and implement an async device opening interface for libinput
this adds an overly-complex method of removing blocking dbus calls from libinput's synchronous device initialization architecture. libinput was clearly never meant to be used in this way, but we're doing it anyway because we're efl. #SamsungFeatures
Diffstat (limited to 'src/lib/elput/elput_manager.c')
-rw-r--r--src/lib/elput/elput_manager.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/elput/elput_manager.c b/src/lib/elput/elput_manager.c
index b1378f55b0..3b127afdc7 100644
--- a/src/lib/elput/elput_manager.c
+++ b/src/lib/elput/elput_manager.c
@@ -58,6 +58,14 @@ elput_manager_disconnect(Elput_Manager *manager)
58 EINA_SAFETY_ON_NULL_RETURN(manager); 58 EINA_SAFETY_ON_NULL_RETURN(manager);
59 EINA_SAFETY_ON_NULL_RETURN(manager->interface); 59 EINA_SAFETY_ON_NULL_RETURN(manager->interface);
60 60
61
62 if (manager->input.thread)
63 {
64 ecore_thread_cancel(manager->input.thread);
65 manager->del = 1;
66 return;
67 }
68
61 if (manager->interface->disconnect) 69 if (manager->interface->disconnect)
62 manager->interface->disconnect(manager); 70 manager->interface->disconnect(manager);
63} 71}