aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--video/out/cocoa/events_view.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/video/out/cocoa/events_view.m b/video/out/cocoa/events_view.m
index 4a839b727e..2cfe3f2fda 100644
--- a/video/out/cocoa/events_view.m
+++ b/video/out/cocoa/events_view.m
@@ -46,6 +46,12 @@
return self;
}
+- (void)drawRect:(NSRect)rect
+{
+ [[NSColor blackColor] setFill];
+ NSRectFill(rect);
+}
+
// mpv uses flipped coordinates, because X11 uses those. So let's just use them
// as well without having to do any coordinate conversion of mouse positions.
- (BOOL)isFlipped { return YES; }