e_comp_wl: When dragging, delete cursor hide timer 36/319236/1
authorduna.oh <duna.oh@samsung.com>
Fri, 18 Oct 2024 05:17:49 +0000 (14:17 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 18 Oct 2024 06:17:12 +0000 (15:17 +0900)
When dragging, no need to hide cursor by timer.

Under normal dragging scenario, cursor hide timer is deleted on mouse down.
However, there is a scenario that dragging starts without a preceding mouse
down event. (ex. MultiControl)
This patch fixes this specific scenario.

Please refer to the following commit.
commit d31eaf38264b9cca65000c8f503698419cd219c5

Change-Id: Id77721aba5fbfe5347d505cbe1c6854be1851f0f

src/bin/server/e_comp_wl.c

index da83d93f41ce958018ecdfd905fd5ff1f2d41ed0..210731dd5dc0f3f7270cfcdffbc532a071c5755a 100644 (file)
@@ -1724,6 +1724,8 @@ _e_comp_wl_evas_cb_mouse_move(void *data, Evas *evas EINA_UNUSED, Evas_Object *o
                     _e_comp_wl_cursor_move_timer_control(comp_wl, ec);
                }
           }
+        else
+          E_FREE_FUNC(comp_wl->ptr.hide_tmr, ecore_timer_del);
 
         e_pointer_mouse_move(e_comp_pointer_get(), ev->cur.output.x, ev->cur.output.y);
      }