fix macos command-tab

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-02-15 15:25:28 +08:00
parent 38a0b8c960
commit 66378f63d9

View File

@ -719,7 +719,7 @@ fn reset_input() {
let _lock = VIRTUAL_INPUT_MTX.lock();
VIRTUAL_INPUT = VirtualInput::new(
CGEventSourceStateID::Private,
CGEventTapLocation::AnnotatedSession,
CGEventTapLocation::Session,
)
.ok();
}