Don't wait on ScrollbarEventMsgID.

git-svn-id: http://macvim.googlecode.com/svn/trunk@32 96c4425d-ca35-0410-94e5-3396d5c13a8f
This commit is contained in:
Bjorn Winckler
2007-07-29 15:20:26 +00:00
parent cc7e1b9b11
commit 44c6ee46ee
+1 -4
View File
@@ -861,10 +861,7 @@ NSMutableArray *buildMenuAddress(NSMenu *menu)
[data appendBytes:&hitPart length:sizeof(int)];
[data appendBytes:&value length:sizeof(float)];
// TODO: Should this message wait or not? If there are problems with
// MacVim locking up when the user scrolls violently, then it should be
// changed to NO.
[vimController sendMessage:ScrollbarEventMsgID data:data wait:YES];
[vimController sendMessage:ScrollbarEventMsgID data:data wait:NO];
}
- (void)fitWindowToScrollbars:(id)sender