Summary Files Commits Branches @commit @diff @stats
path: root / badwolf.c
diff options
context:
space:
mode:
Commit582b91d23bd1eba52f77ba1cc68a21f8061ea50a (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-06-21 00:28:59 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-06-21 00:28:59 +0200
Files9fb8b1917ee316e9ffed5b471ece74bb8d37bf23 /badwolf.c
goodwolf-0.2.1.tar
goodwolf-0.2.1.tar.gz
goodwolf-0.2.1.zip
Parent1f94afe441c6b4ba0700923ed9a1475f091e2364 (diff)
badwolf.c: Try +1 on current_page when creating a tab again v0.2.1
1 files changed, 1 insertions, 1 deletions
-rw-r--r--badwolf.c2
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;
}