diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-06-09 00:41:02 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-06-09 12:06:19 +0200 |
commit | d8cc59e18d6bf90c91e5d9cf1f9c36587f4ab26c (patch) | |
tree | f004320e757660cbefb02559ea7a902575c84e1c /src/prefs.h | |
parent | e89a2293ebb3331dca46f5edf0108231b1007402 (diff) |
Add new_tab_page option
Adds support to load a custom page when a new tab is opened. The current
behavior is set as the default, load a blank page. The location bar is
only selected when the new tab page is the blank page, otherwise the
page loaded gets the focus.
Co-authored-by: Alex <a1ex@dismail.de>
Fixes: https://github.com/dillo-browser/dillo/issues/124
Diffstat (limited to 'src/prefs.h')
-rw-r--r-- | src/prefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prefs.h b/src/prefs.h index b234176f..97bdecf7 100644 --- a/src/prefs.h +++ b/src/prefs.h @@ -48,6 +48,7 @@ typedef struct { char *no_proxy; DilloUrl *start_page; DilloUrl *home; + DilloUrl *new_tab_page; bool_t allow_white_bg; int32_t white_bg_replacement; int32_t bg_color; |