Summary Files Commits Branches @commit @diff @stats
path: root / badwolf.h
diff options
context:
space:
mode:
Commit7425c1579beea18aaf5150b0e80f532f35e597d5 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-07-04 07:15:29 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-07-08 07:20:54 +0200
Filesb64ab1aaa672ab0f501e22b4406f5290c9181cff /badwolf.h
goodwolf-7425c1579beea18aaf5150b0e80f532f35e597d5.tar
goodwolf-7425c1579beea18aaf5150b0e80f532f35e597d5.tar.gz
goodwolf-7425c1579beea18aaf5150b0e80f532f35e597d5.zip
Parent1d4e9c3d4a22be09c0dbc1bc01e618ce5a394ef3 (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 7911c33..3d9b7f4 100644
--- a/badwolf.h
+++ b/badwolf.h
@@ -38,6 +38,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, WebKitWebView *related_web_view);
-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 */