From 98d033560705e8e8edb94960f70b545122ce9bef Mon Sep 17 00:00:00 2001 From: fufesou Date: Sun, 18 Dec 2022 15:07:53 +0800 Subject: [PATCH] remove warn Signed-off-by: fufesou --- src/server/input_service.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/input_service.rs b/src/server/input_service.rs index d47cacf4a..7e56da064 100644 --- a/src/server/input_service.rs +++ b/src/server/input_service.rs @@ -863,6 +863,7 @@ fn release_unpressed_modifiers(en: &mut Enigo, key_event: &KeyEvent) { fix_modifiers(&key_event.modifiers[..], en, ck_value); } +#[cfg(target_os = "linux")] fn is_altgr_pressed() -> bool { KEYS_DOWN .lock()