aboutsummaryrefslogtreecommitdiff
path: root/src/prefsparser.cc
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/prefsparser.cc
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/prefsparser.cc')
-rw-r--r--src/prefsparser.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prefsparser.cc b/src/prefsparser.cc
index 83131d58..dbb82cb8 100644
--- a/src/prefsparser.cc
+++ b/src/prefsparser.cc
@@ -192,6 +192,7 @@ void PrefsParser::parse(FILE *fp)
PREFS_BOOL, 0 },
{ "right_click_closes_tab", &prefs.right_click_closes_tab, PREFS_BOOL, 0 },
{ "scroll_switches_tabs", &prefs.scroll_switches_tabs, PREFS_BOOL, 0 },
+ { "scroll_switches_tabs_reverse", &prefs.scroll_switches_tabs_reverse, PREFS_BOOL, 0 },
{ "no_proxy", &prefs.no_proxy, PREFS_STRING, 0 },
{ "panel_size", &prefs.panel_size, PREFS_PANEL_SIZE, 0 },
{ "parse_embedded_css", &prefs.parse_embedded_css, PREFS_BOOL, 0 },