cocoa: remove pointless drawRect

Apparently it causes deadlocks, and at the moment it does nothing.

Fixes #778
This commit is contained in:
Stefano Pigozzi committed 2014-10-04 17:31:18 +02:00
1 parent d980c30851
commit 0541151b40
1 file changed
-7
-7
View File
@@ -227,13 +227,6 @@
[self.adapter putKey:(mpkey | state) withModifiers:[event modifierFlags]];
}
- (void)drawRect:(NSRect)rect
{
[self.adapter lock];
[self.adapter setNeedsResize];
[self.adapter unlock];
}
- (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender
{
NSPasteboard *pboard = [sender draggingPasteboard];