mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
cocoa: remove pointless drawRect
Apparently it causes deadlocks, and at the moment it does nothing. Fixes #778
This commit is contained in:
parent
d980c30851
commit
0541151b40
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user