diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-01-02 19:17:43 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-01-02 19:19:23 +0100 |
commit | 43faae7a1ee921b9d96fed94aad69b183fbf4200 (patch) | |
tree | f0a2db17efafde24b1c04ddd7c30ad57fae2ab8c /video/out | |
parent | 44cc65e5fbb41c731e7762ee7d2396a8130e1b9d (diff) | |
download | mpv-43faae7a1ee921b9d96fed94aad69b183fbf4200.tar.bz2 mpv-43faae7a1ee921b9d96fed94aad69b183fbf4200.tar.xz |
cocoa: fix NSMapGet error
regression from 64b6b2ea45
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/cocoa/events_view.m | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/video/out/cocoa/events_view.m b/video/out/cocoa/events_view.m index 2833bf2773..6a0190e21c 100644 --- a/video/out/cocoa/events_view.m +++ b/video/out/cocoa/events_view.m @@ -94,8 +94,10 @@ - (void)clear { - self.clearing = YES; - [self exitFullScreenModeWithOptions:nil]; + if (self.inFullScreenMode) { + self.clearing = YES; + [self exitFullScreenModeWithOptions:nil]; + } } // mpv uses flipped coordinates, because X11 uses those. So let's just use them |