Commit f19a1aee authored by Marvin Scholz's avatar Marvin Scholz

macosx: Fix mouse detection in fscontroller

Replaces NSPointInRect with NSMouseInRect to detect if the mouse
is currently inside the fscontroller window frame.
parent 5e331152
......@@ -360,7 +360,7 @@
- (void)autohideCallback:(NSTimer *)timer
if (!NSPointInRect([NSEvent mouseLocation], [self.window frame])) {
if (!NSMouseInRect([NSEvent mouseLocation], [self.window frame], NO)) {
[self fadeOut];
[self hideMouse];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment