summaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.c b/src/commands.c
index da2645da..5e85035c 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -679,7 +679,7 @@ commands_only(KeyMap *km, Arg *arg) {
}/*}}}*/
static void
commands_set_bars(int status) {
- gtk_widget_set_visible(dwb.gui.topbox, status & BAR_VIS_TOP);
+ gtk_widget_set_visible(dwb.gui.topbox, (status & BAR_VIS_TOP) && (GET_BOOL("show-single-tab") || dwb.state.views->next));
gtk_widget_set_visible(dwb.gui.bottombox, status & BAR_VIS_STATUS);
if ((status & BAR_VIS_STATUS) ) {
dwb_dom_remove_from_parent(WEBKIT_DOM_NODE(CURRENT_VIEW()->hover.element), NULL);