aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/out/cocoa/events_view.m
diff options
context:
space:
mode:
authorGravatar Stefano Pigozzi <stefano.pigozzi@gmail.com>2015-03-08 15:19:17 +0100
committerGravatar Stefano Pigozzi <stefano.pigozzi@gmail.com>2015-03-08 15:19:17 +0100
commit8ec9bce2d367541f9d3939f773b669beebd0be6d (patch)
treef54d271ed9d794a26f2229c3247b2575fc4c30d0 /video/out/cocoa/events_view.m
parentce239f1577ccd7eabccaac5b3b34fbe3959d860e (diff)
cocoa: fix autohide in fullscreen
Diffstat (limited to 'video/out/cocoa/events_view.m')
-rw-r--r--video/out/cocoa/events_view.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/cocoa/events_view.m b/video/out/cocoa/events_view.m
index 7c8283ad72..6fec712a33 100644
--- a/video/out/cocoa/events_view.m
+++ b/video/out/cocoa/events_view.m
@@ -166,7 +166,8 @@
- (BOOL)canHideCursor
{
- return !self.hasMouseDown && [self containsMouseLocation];
+ return !self.hasMouseDown && [self containsMouseLocation]
+ && [[self window] isKeyWindow];
}
- (void)mouseEntered:(NSEvent *)event