From c95f5d59cb07fd96b4a79733ec9ce37929243476 Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Sat, 22 Sep 2007 14:54:24 +0000 Subject: [PATCH] Double-click, triple-click, etc. were not properly handled by MouseDownMsgID git-svn-id: http://macvim.googlecode.com/svn/trunk@258 96c4425d-ca35-0410-94e5-3396d5c13a8f --- MMBackend.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MMBackend.m b/MMBackend.m index e01b2acc54..3878fd2bc8 100644 --- a/MMBackend.m +++ b/MMBackend.m @@ -1381,7 +1381,7 @@ enum { button = eventButtonNumberToVimMouseButton(button); flags = eventModifierFlagsToVimMouseModMask(flags); - gui_send_mouse_event(button, col, row, 0 != count, flags); + gui_send_mouse_event(button, col, row, count>1, flags); } else if (MouseUpMsgID == msgid) { if (!data) return; const void *bytes = [data bytes];