summaryrefslogtreecommitdiff
path: root/src/prefs.c
diff options
context:
space:
mode:
authorAlex <a1ex@dismail.de>2024-04-08 21:15:43 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-04-09 19:59:55 +0200
commit633da750d19c3ca726c912aa5e45fd6b01327bd3 (patch)
tree337735b2f61d80bbac0dbf1fc9072efc9715002c /src/prefs.c
parent3eb3739980bc50705acbdeff6f175d4c0201bf31 (diff)
Control the direction of tab scrolling
Adds the scroll_switches_tabs_reverse option in dillorc to allows reversing the direction of tab switching based on the movement of the mouse wheel. See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/thread/F2EF4NHF3CBMJ3XZII2TFIE6MSXEE5AD/ Fixes: https://github.com/dillo-browser/dillo/issues/122 Reviewed-by: Rodrigo Arias Mallo <rodarima@gmail.com>
Diffstat (limited to 'src/prefs.c')
-rw-r--r--src/prefs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prefs.c b/src/prefs.c
index 26c86a4d..8cac23a9 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -79,6 +79,7 @@ void a_Prefs_init(void)
prefs.middle_click_opens_new_tab = TRUE;
prefs.right_click_closes_tab = TRUE;
prefs.scroll_switches_tabs = TRUE;
+ prefs.scroll_switches_tabs_reverse = FALSE;
prefs.no_proxy = dStrdup(PREFS_NO_PROXY);
prefs.panel_size = P_medium;
prefs.parse_embedded_css=TRUE;