aboutsummaryrefslogtreecommitdiff
path: root/src/ui.cc
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2007-10-29 21:06:02 +0100
committerjcid <devnull@localhost>2007-10-29 21:06:02 +0100
commit989a4d35b5f43bc72bfd930d409362fbc1a48a3f (patch)
tree781ff309e9ac622e2debc5089e52b9a79d3af7f2 /src/ui.cc
parent2fca0769dca44c7d105fbb3b8d23369be5f7a600 (diff)
Restricted quit to LeftAltKey+q.
Diffstat (limited to 'src/ui.cc')
-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();
}
}