e_keyrouter: fix wrong mutex usage in e_keyrouter_keycancel_send() 52/300352/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 23 Oct 2023 02:30:16 +0000 (11:30 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 23 Oct 2023 03:12:08 +0000 (12:12 +0900)
Change-Id: I0f63a80bf0e4e4613d4f3a0394a482a2949e15f5
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/bin/e_keyrouter_wl.c

index e475af3..2897b4b 100644 (file)
@@ -147,9 +147,9 @@ e_keyrouter_keycancel_send(struct wl_client *client, struct wl_resource *surface
 
    EINA_SAFETY_ON_NULL_RETURN(wc);
 
-   g_mutex_lock(&e_comp->input_key_grabs_mutex);
+   g_mutex_lock(&krt->grab_key_mutex);
    press_ptr_list = krt->HardKeys[key].press_ptr;
-   g_mutex_unlock(&e_comp->input_key_grabs_mutex);
+   g_mutex_unlock(&krt->grab_key_mutex);
 
    EINA_LIST_FOREACH(press_ptr_list, l, data)
      {