commit: 582b91d23bd1eba52f77ba1cc68a21f8061ea50a
parent 1f94afe441c6b4ba0700923ed9a1475f091e2364
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 21 Jun 2019 00:28:59 +0200
badwolf.c: Try +1 on current_page when creating a tab again
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/badwolf.c b/badwolf.c
@@ -669,7 +669,7 @@ badwolf_new_tab(GtkNotebook *notebook, struct Client *browser)
gtk_widget_show_all(browser->box);
- if(gtk_notebook_insert_page(notebook, browser->box, NULL, (current_page + 2)) == -1)
+ if(gtk_notebook_insert_page(notebook, browser->box, NULL, (current_page + 1)) == -1)
{
return -1;
}