aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui.cc b/src/ui.cc
index 511b71b8..8f58e192 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -147,7 +147,8 @@ int global_event_handler(int e, Window *win)
}
}
- if (event_state(ALT) && event_key() == 'q') {
+ _MSG("global_event_handler: Alt_R=%d\n", event_key_state(RightAltKey));
+ if (event_key_state(LeftAltKey) && event_key() == 'q') {
a_UIcmd_close_all_bw();
}
}