aboutsummaryrefslogtreecommitdiff
path: root/src/uicmd.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/uicmd.cc')
-rw-r--r--src/uicmd.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc
index b4835b8a..e153ba70 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -246,7 +246,7 @@ int CustTabs::handle(int e)
a_Timeout_add(0.0, a_UIcmd_close_all_bw, NULL);
ret = 1;
}
- } else if (e == FL_MOUSEWHEEL) {
+ } else if (e == FL_MOUSEWHEEL && prefs.scroll_switches_tabs) {
/* Move to the next or previous tab using the mouse wheel */
int dx = Fl::event_dx();
int dy = Fl::event_dy();