e_input_backend: Fix issue input thread occupies 100% of the CPU 23/318123/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 13 Jan 2025 07:25:33 +0000 (16:25 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 13 Jan 2025 08:11:16 +0000 (17:11 +0900)
Change-Id: I4fd6bd67d7bf1387415621734812a54bec437411
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/bin/inputmgr/e_input_backend.c

index 4ef3697ec271afadacfa8d9cc3b4694681f7114b..15a9f99fd90f4a74318d22c99ad6db612995e61c 100644 (file)
@@ -1282,6 +1282,13 @@ input_thread_start(void *data, Ecore_Thread *th)
    TSM("[WM] Skip sending start-up completion. (no systemd)");
 #endif
 
+   /* enable this input */
+   if (!e_input_backend_enable_input(input))
+     {
+        ERR("Failed to enable input");
+        return;
+     }
+
    //create a context
    context = g_main_context_new();
    g_main_context_push_thread_default(context);