From f9c7fc46c79cae2e8323e5852335bd414a6e5e13 Mon Sep 17 00:00:00 2001 From: liqiao49 Date: Thu, 14 Sep 2023 19:27:08 +0800 Subject: [PATCH] fix bug about re-opening hotspots causes mouse through fail Signed-off-by: liqiao49 --- common/include/constants_dinput.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/include/constants_dinput.h b/common/include/constants_dinput.h index 04fbb9c..d4deb46 100644 --- a/common/include/constants_dinput.h +++ b/common/include/constants_dinput.h @@ -80,7 +80,7 @@ namespace DistributedInput { constexpr int32_t SESSION_WAIT_TIMEOUT_SECOND = 5; - constexpr int32_t EPOLL_WAITTIME = -1; + constexpr int32_t EPOLL_WAITTIME = 100; /* The input device is a keyboard or has buttons. */ constexpr uint32_t INPUT_DEVICE_CLASS_KEYBOARD = 0x00000001; -- Gitee