From 371e2ec67e87a7d52e31a63d616b6e2ba4b0a566 Mon Sep 17 00:00:00 2001 From: "duna.oh" Date: Mon, 13 Nov 2023 20:26:57 +0900 Subject: [PATCH] e_comp_wl: when pointer is locked, do not hide cursor by timer There is a bug that cursor hide timer is added, expired, and cursor gets hidden even if pointer is locked. Please refer to the following commit. commit d31eaf38264b9cca65000c8f503698419cd219c5 Author: duna.oh Date: Mon Nov 6 16:21:58 2023 +0900 e_comp_wl_input: when pointer is locked, delete cursor hide timer When pointer is locked, no need to hide cursor by timer. Change-Id: I971175c42b5e50f8d8ed2d5354bb55e04ae62283 --- src/bin/e_comp_wl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 445d6cc1d0..600a6494c8 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -1053,6 +1053,9 @@ _e_comp_wl_cursor_timer(void *data) { E_Client *ec = data; + ELOGF("Mouse", "Cursor hide timer expired after %d sec.", ec, e_config->cursor_timer_interval); + if (e_comp_wl->relative_ptr.activated) return ECORE_CALLBACK_CANCEL; + e_comp_wl_cursor_hide(ec); return ECORE_CALLBACK_CANCEL; -- 2.34.1