aboutsummaryrefslogtreecommitdiff
path: root/src/prefs.h
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-10-12 21:39:14 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-10-13 13:59:01 +0200
commit1f7e5f5c258c3d66e1704ee48a11c79c65f8354b (patch)
tree366023d896055972c5bb981057083b7fc6823b37 /src/prefs.h
parent7bade294672a638bcd1b0451333be5bb948cbbf7 (diff)
Add new scrollbar page mode
The scroll page mode changes the behavior of the mouse when clicking on the vertical scrollbar. When enabled with scrollbar_page_mode=YES, clicking with the left button anywhere on the vertical scrollbar will cause the page to scroll down one page. With the right button, to scroll up one page. Holding Shift temporarily reverts the value of the option.
Diffstat (limited to 'src/prefs.h')
-rw-r--r--src/prefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prefs.h b/src/prefs.h
index f51d0a4c..6f8f4fdb 100644
--- a/src/prefs.h
+++ b/src/prefs.h
@@ -78,6 +78,7 @@ typedef struct {
int32_t font_min_size;
int32_t scroll_step;
bool_t scrollbar_on_left;
+ bool_t scrollbar_page_mode;
bool_t show_back;
bool_t show_forw;
bool_t show_home;