Summary Files Commits Branches @commit @diff @stats
path: root / badwolf.h
diff options
context:
space:
mode:
Commiteaf289e8ebb017f7de4081a1564737da044dd341 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-07-04 07:15:29 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-07-04 07:16:58 +0200
Files5f7c31453d253b152e8a10fcb12b0b1bd0fba6a8 /badwolf.h
goodwolf-eaf289e8ebb017f7de4081a1564737da044dd341.tar
goodwolf-eaf289e8ebb017f7de4081a1564737da044dd341.tar.gz
goodwolf-eaf289e8ebb017f7de4081a1564737da044dd341.zip
Parente94212d51be4e15e12a67e633baa32f0a0d6273b (diff)
Switch automatically to a tab when user-requested
This changes behavior but doesn't breaks meaning nor documentation and significantly improves usability. So meant to be applied directly into 1.0.x release branch. Closes: https://gitlab.com/lanodan/badWolf/-/issues/8
1 files changed, 1 insertions, 1 deletions
-rw-r--r--badwolf.h2
diff --git a/badwolf.h b/badwolf.h
index 530f9c8..a375be6 100644
--- a/badwolf.h
+++ b/badwolf.h
@@ -39,6 +39,6 @@ GtkWidget *badwolf_new_tab_box(const gchar *title, struct Client *browser);
void webView_tab_label_change(struct Client *browser, const gchar *title);
struct Client *
new_browser(struct Window *window, const gchar *target_url, struct Client *old_browser);
-int badwolf_new_tab(GtkNotebook *notebook, struct Client *browser);
+int badwolf_new_tab(GtkNotebook *notebook, struct Client *browser, bool auto_switch);
gint badwolf_get_tab_position(GtkContainer *notebook, GtkWidget *child);
#endif /* BADWOLF_H_INCLUDED */