Fix dead lock issue 97/307297/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 7 Mar 2024 02:50:30 +0000 (11:50 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 7 Mar 2024 02:51:03 +0000 (11:51 +0900)
main thread: connection lock -> wait grabkey mutex
input thread: grabkey mutex -> wait connection mutex

Change-Id: I8558d130a71a2b337005a21e41c59d5a81ccf4ad
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/bin/e_keyrouter_wl.c

index ced227c19ed2ebda73313d90ae0a27febd357a88..52c730d9f2890d5855d770efc7682999f447c65d 100644 (file)
@@ -51,9 +51,7 @@ _e_keyrouter_wl_key_send(Ecore_Event_Key *ev, E_Device *dev, enum wl_keyboard_ke
 
    if (surface && !focused)
      {
-        e_comp_wl_connection_lock();
         e_keyrouter_wl_event_surface_send(surface, ev->keycode, TIZEN_KEYROUTER_MODE_NONE);
-        e_comp_wl_connection_unlock();
      }
 
    if (e_config->key_input_ttrace_enable)