summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-12-10 09:44:38 -0500
committerChris Michael <cp.michael@samsung.com>2014-12-10 12:01:58 -0500
commit893297e6f711c37c9e36602467739d4dfa6bd141 (patch)
treecc212f62bc11d2a98739d8a7bc33810a40a7abf0 /src/lib
parent894c6cf80bcba72a2daeeac02ccf6c8ae23c5270 (diff)
ecore-drm: Remove libinput log print callback
Summary: This was causing crashes in libinput when trying to print out via eina_log. Disable/Remove it. Let libinput print it's own logs. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore_drm/ecore_drm_inputs.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_inputs.c b/src/lib/ecore_drm/ecore_drm_inputs.c
index f479465a2b..31176a3f71 100644
--- a/src/lib/ecore_drm/ecore_drm_inputs.c
+++ b/src/lib/ecore_drm/ecore_drm_inputs.c
@@ -5,25 +5,6 @@
5#include "ecore_drm_private.h" 5#include "ecore_drm_private.h"
6 6
7/* local functions */ 7/* local functions */
8static void
9_cb_libinput_log(struct libinput *libinput EINA_UNUSED, enum libinput_log_priority priority, const char *format, va_list args)
10{
11 switch (priority)
12 {
13 case LIBINPUT_LOG_PRIORITY_DEBUG:
14 DBG(format, args);
15 break;
16 /* case LIBINPUT_LOG_PRIORITY_INFO: */
17 /* INF(format, args); */
18 /* break; */
19 case LIBINPUT_LOG_PRIORITY_ERROR:
20 ERR(format, args);
21 break;
22 default:
23 break;
24 }
25}
26
27static int 8static int
28_cb_open_restricted(const char *path, int flags, void *data) 9_cb_open_restricted(const char *path, int flags, void *data)
29{ 10{
@@ -258,9 +239,6 @@ ecore_drm_inputs_create(Ecore_Drm_Device *dev)
258 break; 239 break;
259 } 240 }
260 241
261 /* set callback for libinput logging */
262 libinput_log_set_handler(input->libinput, &_cb_libinput_log);
263
264 /* set libinput log priority */ 242 /* set libinput log priority */
265 libinput_log_set_priority(input->libinput, priority); 243 libinput_log_set_priority(input->libinput, priority);
266 244