summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa/events_view.m
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-10-05 23:49:09 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-10-05 23:49:09 +0200
commitba994bc0dd7ed98f202e5f11f05a662eb83c55ac (patch)
tree3165b04c2af5f6759d94cc836eb14e050ac74249 /video/out/cocoa/events_view.m
parent69508dc507bd42d66681aa7149ff6b597a203f58 (diff)
downloadmpv-ba994bc0dd7ed98f202e5f11f05a662eb83c55ac.tar.bz2
mpv-ba994bc0dd7ed98f202e5f11f05a662eb83c55ac.tar.xz
cocoa: fix mouse autohide
broken in 547b62f
Diffstat (limited to 'video/out/cocoa/events_view.m')
-rw-r--r--video/out/cocoa/events_view.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/cocoa/events_view.m b/video/out/cocoa/events_view.m
index 6e1b470d13..91b00fcb0b 100644
--- a/video/out/cocoa/events_view.m
+++ b/video/out/cocoa/events_view.m
@@ -137,7 +137,7 @@
- (BOOL)canHideCursor
{
- return self.hasMouseDown && [self containsMouseLocation];
+ return !self.hasMouseDown && [self containsMouseLocation];
}
- (void)mouseEntered:(NSEvent *)event