Commit da65be43 authored by David Fuhrmann's avatar David Fuhrmann

macosx: only show fullscreen when mouse moves inside window

parent 1387f38f
......@@ -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