aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-05-09 20:30:49 -0400
committerJesse Luehrs <doy@tozt.net>2014-05-09 20:30:49 -0400
commitf4bc70b23874f4d017e367b78368cbd1678075c3 (patch)
tree57ea4c91dc578ecd58d7a91d15d84ba377e87e48
parent28238c4abce6562a4958144f28b3982efb2b53ba (diff)
downloadrunes-f4bc70b23874f4d017e367b78368cbd1678075c3.tar.gz
runes-f4bc70b23874f4d017e367b78368cbd1678075c3.zip
these also need to return 1
-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;