diff options
author | jcid <devnull@localhost> | 2008-10-07 16:23:41 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-10-07 16:23:41 +0200 |
commit | 74f2af766dcf3d7295f031507cf7e8645aebf198 (patch) | |
tree | da7ae869bf110078cb70bc8192f7cfd29d3185e0 /src/ui.cc | |
parent | 8c066adb294a20d7f77bd95ed7cd1e2adfdcc718 (diff) |
- Made ALT+q work.
Diffstat (limited to 'src/ui.cc')
-rw-r--r-- | src/ui.cc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -479,7 +479,7 @@ static void menubar_close_bw(void *vbw) if (bw) a_UIcmd_close_bw(bw); else - a_UIcmd_close_all_bw(); + a_UIcmd_close_all_bw(NULL); a_Timeout_remove(); } @@ -800,6 +800,10 @@ int UI::handle(int event) panelmode_cb_i(); ret = 1; } + } else if (modifier == ALT) { + if (k == 'q' && event_key_state(LeftAltKey)) { + a_Timeout_add(0.0, a_UIcmd_close_all_bw, NULL); + } } else { // Back and Forward navigation shortcuts if (modifier == 0 && (k == BackSpaceKey || k == ',')) { |