summaryrefslogtreecommitdiff
path: root/src/input_handler.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2019-09-15 10:05:44 +1000
committerMaxime Coste <mawww@kakoune.org>2019-09-15 10:27:00 +1000
commit858ae14f766dc8b847a61cb59ce04f704d412ad3 (patch)
tree2adf3f6cff7bff6c96391f3107052f8199404381 /src/input_handler.hh
parent6ee71191af7af3c67491466e00cef24843a07c5e (diff)
Allow scrolling while dragging mouse
Closes #2052
Diffstat (limited to 'src/input_handler.hh')
-rw-r--r--src/input_handler.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh
index e9528a07..3304b67e 100644
--- a/src/input_handler.hh
+++ b/src/input_handler.hh
@@ -186,7 +186,7 @@ void on_next_key_with_autoinfo(const Context& context, KeymapMode keymap_mode, C
});
}
-void scroll_window(Context& context, LineCount offset);
+void scroll_window(Context& context, LineCount offset, bool adapt_cursor = true);
}