Fix crash issue in pointer warp 89/312589/1 accepted/tizen/unified/20240612.160718 accepted/tizen/unified/x/20240614.011725
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 12 Jun 2024 02:40:40 +0000 (11:40 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 12 Jun 2024 02:50:12 +0000 (11:50 +0900)
Change-Id: Id5a8d7bf1334af4fc17114000093aa1a57daa99b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/bin/inputmgr/e_input_evdev.c

index f1a985248584bd50614ee274eba24d5ff3545aee..d01a420189daebf8e5982bc24fced43aafc58a48 100644 (file)
@@ -821,11 +821,11 @@ _device_pointer_motion(E_Input_Evdev *edev, struct libinput_event_pointer *event
 
    if (!(input = edev->seat->input)) return;
 
+   ecore_thread_main_loop_begin();
+
    device_name = libinput_device_get_name(edev->device);
    timestamp = libinput_event_pointer_get_time(event);
 
-   ecore_thread_main_loop_begin();
-
    if (edev->ecore_dev) ecore_dev = edev->ecore_dev;
    else if (edev->ecore_dev_list && eina_list_count(edev->ecore_dev_list) > 0)
      {