e_comp_wl: add null checking in e_comp_wl_input_cursor_timer_enable_set() 67/293167/1
authorduna.oh <duna.oh@samsung.com>
Mon, 22 May 2023 01:00:37 +0000 (10:00 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 22 May 2023 05:01:43 +0000 (14:01 +0900)
Change-Id: I22c1cfa7b1da182978314cdcbb8e9f28f17f8da9

src/bin/e_comp_wl.c

index a6d4f92..22469cb 100644 (file)
@@ -5367,7 +5367,7 @@ e_comp_wl_input_cursor_timer_enable_set(Eina_Bool enabled)
           }
         cursor_timer_ec = NULL;
 
-        if (e_comp_wl->ptr.ec->has_cursor_unset)
+        if (e_comp_wl->ptr.ec && e_comp_wl->ptr.ec->has_cursor_unset)
           return;
 
         if (e_pointer_is_hidden(e_comp->pointer))