diff options
author | jcid <devnull@localhost> | 2007-10-29 21:06:02 +0100 |
---|---|---|
committer | jcid <devnull@localhost> | 2007-10-29 21:06:02 +0100 |
commit | 989a4d35b5f43bc72bfd930d409362fbc1a48a3f (patch) | |
tree | 781ff309e9ac622e2debc5089e52b9a79d3af7f2 /src/ui.cc | |
parent | 2fca0769dca44c7d105fbb3b8d23369be5f7a600 (diff) |
Restricted quit to LeftAltKey+q.
Diffstat (limited to 'src/ui.cc')
-rw-r--r-- | src/ui.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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(); } } |