aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-xlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window-xlib.c')
-rw-r--r--src/window-xlib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window-xlib.c b/src/window-xlib.c
index cc9ec7e..43578be 100644
--- a/src/window-xlib.c
+++ b/src/window-xlib.c
@@ -798,9 +798,11 @@ static int runes_window_backend_handle_builtin_button_press(
break;
case Button4:
runes_window_backend_visible_scroll(t, t->config.scroll_lines);
+ return 1;
break;
case Button5:
runes_window_backend_visible_scroll(t, -t->config.scroll_lines);
+ return 1;
break;
default:
break;