Skip to content

Commit

Permalink
fix(exit): change broken conditional compile logic from gui changes (#…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
jtroo authored Jul 27, 2024
1 parent 620d82f commit 16f9027
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/kanata/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}");
Expand Down

0 comments on commit 16f9027

Please sign in to comment.