diff options
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 == ',')) { |