From 16f9027056453bed09fb951c0b213dcd5e7187b2 Mon Sep 17 00:00:00 2001 From: jtroo Date: Sat, 27 Jul 2024 09:46:17 -0700 Subject: [PATCH] fix(exit): change broken conditional compile logic from gui changes (#1167) Commit 7e5039 broke the force-exit-chord on Windows non-GUI. Seems there is another bug for Windows GUI+Interception; that bug is not fixed in this PR. --- src/kanata/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/kanata/mod.rs b/src/kanata/mod.rs index cdd04d0fa..29b666cd3 100755 --- a/src/kanata/mod.rs +++ b/src/kanata/mod.rs @@ -2114,8 +2114,7 @@ fn check_for_exit(_event: &KeyEvent) { } #[cfg(all( not(target_os = "linux"), - not(target_os = "windows"), - not(feature = "gui") + not(all(target_os = "windows", feature = "gui")) ))] { panic!("{EXIT_MSG}");