Commit 108e103e authored by David Fuhrmann's avatar David Fuhrmann

macosx: only show fullscreen when mouse moves inside window

(cherry picked from commit da65be4390a8cbe466840f76d13965a4893bbd7a)
Signed-off-by: default avatarDavid Fuhrmann <david.fuhrmann@googlemail.com>
parent d9f614d8
......@@ -216,7 +216,10 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
- (void)mouseMoved:(NSEvent *)o_event
{
NSPoint ml = [self convertPoint: [o_event locationInWindow] fromView: nil];
if( [self mouse: ml inRect: [self bounds]] )
[[VLCMain sharedInstance] showFullscreenController];
[super mouseMoved: o_event];
}
......
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