summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-25 15:49:07 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-25 15:49:07 +0200
commit8d9b40e71ab62f43c65a52225cb833ecc0d1bf6b (patch)
treea25e59faa9adfd7e352c407ded5beedf4242d1d2 /src/message.c
parent0fe849a13b4c0753d6b2424783879696a1fd4421 (diff)
downloadvim-git-8d9b40e71ab62f43c65a52225cb833ecc0d1bf6b.tar.gz
Add support for horizontal scroll wheel. (Bjorn Winckler)
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/message.c b/src/message.c
index 7c94cbf8b..3b1b45892 100644
--- a/src/message.c
+++ b/src/message.c
@@ -987,6 +987,7 @@ wait_return(redraw)
|| c == K_LEFTDRAG || c == K_LEFTRELEASE
|| c == K_MIDDLEDRAG || c == K_MIDDLERELEASE
|| c == K_RIGHTDRAG || c == K_RIGHTRELEASE
+ || c == K_MOUSELEFT || c == K_MOUSERIGHT
|| c == K_MOUSEDOWN || c == K_MOUSEUP
|| (!mouse_has(MOUSE_RETURN)
&& mouse_row < msg_row