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
This commit is contained in:
Bjorn Winckler
2007-09-22 14:54:24 +00:00
parent 5341d45b06
commit c95f5d59cb
+1 -1
View File
@@ -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];