summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-10-04 17:29:10 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-10-04 17:31:18 +0200
commit0541151b408e5aab5f20d437123b8a0a6aade3e5 (patch)
tree2f27a22aca4f7ab4ef71b5a4f3c4ffac9f2c9ad2 /video/out/cocoa
parentd980c30851d00d32f3333cbf824f53eedd2a869e (diff)
downloadmpv-0541151b408e5aab5f20d437123b8a0a6aade3e5.tar.bz2
mpv-0541151b408e5aab5f20d437123b8a0a6aade3e5.tar.xz
cocoa: remove pointless drawRect
Apparently it causes deadlocks, and at the moment it does nothing. Fixes #778
Diffstat (limited to 'video/out/cocoa')
-rw-r--r--video/out/cocoa/view.m7
1 files changed, 0 insertions, 7 deletions
diff --git a/video/out/cocoa/view.m b/video/out/cocoa/view.m
index 0c5a92123e..91454c27d5 100644
--- a/video/out/cocoa/view.m
+++ b/video/out/cocoa/view.m
@@ -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];