Commit 1cee2e3b authored by David Fuhrmann's avatar David Fuhrmann

macosx vout: remove unneeded center when resizing the window

Note that the origin values can also be negative when we have our window
on a secondary screen.
parent e6820b61
......@@ -561,8 +561,6 @@ static void OpenglSwap(vlc_gl_t *gl)
if (![[self window] isFullscreen])
{
NSRect frame = [value rectValue];
if (frame.origin.x <= 0.0 && frame.origin.y <= 0.0)
[[self window] center];
[[self window] setFrame:frame display:YES animate: YES];
}
}
......
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