aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_libinput/ecore_libinput.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_libinput/ecore_libinput.c')
-rw-r--r--src/lib/ecore_libinput/ecore_libinput.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/ecore_libinput/ecore_libinput.c b/src/lib/ecore_libinput/ecore_libinput.c
index 6bcc6a376c..3b935898c2 100644
--- a/src/lib/ecore_libinput/ecore_libinput.c
+++ b/src/lib/ecore_libinput/ecore_libinput.c
@@ -43,3 +43,18 @@ log_err:
eina_err:
return --_ecore_libinput_init_count;
}
+
+EAPI int
+ecore_libinput_shutdown(void)
+{
+ if (--_ecore_libinput_init_count != 0) return _ecore_libinput_init_count;
+
+ eeze_shutdown();
+ ecore_event_shutdown();
+
+ eina_log_domain_unregister(_ecore_libinput_log_dom);
+ _ecore_libinput_log_dom = -1;
+
+ eina_shutdown();
+ return _ecore_libinput_init_count;
+}