From 582b91d23bd1eba52f77ba1cc68a21f8061ea50a Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Fri, 21 Jun 2019 00:28:59 +0200 Subject: badwolf.c: Try +1 on current_page when creating a tab again --- badwolf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/badwolf.c b/badwolf.c index cecfb96..2ba2bda 100644 --- 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; } -- cgit v1.3.1-23-gd82d