From 51c61beccb882ca74f97157994bed8c1f68e925b Mon Sep 17 00:00:00 2001 From: dyamy-lee Date: Thu, 26 Aug 2021 17:33:33 +0900 Subject: [PATCH] wayland-input : add ecore fd handler for polling ecore fd change when get request Change-Id: I9265e42fd286eaa9c494603dd14152c63c19d920 --- src/modules/modality_keyboard/wayland-input.c | 52 ++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/src/modules/modality_keyboard/wayland-input.c b/src/modules/modality_keyboard/wayland-input.c index d66d39d..0b625c1 100644 --- a/src/modules/modality_keyboard/wayland-input.c +++ b/src/modules/modality_keyboard/wayland-input.c @@ -27,7 +27,9 @@ #include #include #include +#include +#include #include #include #include @@ -41,6 +43,8 @@ struct tizen_keyrouter *tz_keyrouter = NULL; struct xkb_context *xkb_context; struct xkb_keymap *keymap; +Ecore_Fd_Handler *fd_hdl; + typedef struct tizen_keyrouter_notify tizen_keyrouter_notify_t; struct tizen_keyrouter_notify { @@ -441,7 +445,6 @@ void _do_keygrab(const char *keyname, uint32_t mode) for(i=0; i