From afa58996151dc8ebd1f4497a1b51da2d5ca92a1a Mon Sep 17 00:00:00 2001 From: Jaehyun Cho Date: Thu, 4 Aug 2022 10:57:20 +0900 Subject: [PATCH] elc_hoversel: Fix to activate accessibility Previously, accessibility activate did not work because accessibility activate method could work only if hover was created before. However, the hover is created in _activate(), which accessibility activate method calls after checking the hover. Therefore, the code checking the hover is removed in accessibility activate method. It has been fixed that hoversel button is activated by double tap of accessibility highlight. Change-Id: I9cee7ec701a9b0878a1253bf66be21586e2aff9a --- src/lib/elementary/elc_hoversel.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/elementary/elc_hoversel.c b/src/lib/elementary/elc_hoversel.c index 9c879ea..18ad2e4 100644 --- a/src/lib/elementary/elc_hoversel.c +++ b/src/lib/elementary/elc_hoversel.c @@ -1068,8 +1068,6 @@ _key_action_move(Evas_Object *obj, const char *params) static Eina_Bool _key_action_activate(Evas_Object *obj, const char *params EINA_UNUSED) { - ELM_HOVERSEL_DATA_GET(obj, sd); - if (!sd->hover) return EINA_FALSE; _activate(obj); return EINA_TRUE; } -- 2.7.4