e_comp_wl: add checking pointer_enter_sent in _e_comp_wl_cursor_reload() 60/292860/1
authorduna.oh <duna.oh@samsung.com>
Wed, 10 May 2023 07:33:29 +0000 (16:33 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Tue, 16 May 2023 04:39:40 +0000 (13:39 +0900)
Change-Id: I0b30aeb0e80ed8f2726eaeda42e8e78f1bf5a71f

src/bin/e_comp_wl.c

index 1304fb3..065b4bd 100644 (file)
@@ -917,6 +917,7 @@ _e_comp_wl_cursor_reload(E_Client *ec)
    if (!ec) return;
    if (e_object_is_del(E_OBJECT(ec))) return;
    if (!ec->comp_data || !ec->comp_data->surface) return;
+   if (ec->pointer_enter_sent) return;
 
    px = wl_fixed_to_int(e_comp_wl->ptr.x);
    py = wl_fixed_to_int(e_comp_wl->ptr.y);