Commit b82bc834 authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix issue which caused automatic video resizing even if disabled

close #9864
parent ee3e5d56
......@@ -187,10 +187,9 @@
}
if (!b_video_wallpaper) {
// set window size
// set (only!) window origin if specified
if (b_nonembedded) {
NSRect window_rect = [o_new_video_window getWindowRectForProposedVideoViewSize:videoViewSize];
NSRect window_rect = [o_new_video_window frame];
if (videoViewPosition.origin.x > 0.)
window_rect.origin.x = videoViewPosition.origin.x;
if (videoViewPosition.origin.y > 0.)
......@@ -212,6 +211,7 @@
[o_new_video_window setFrameTopLeftPoint: top_left_point];
}
// resize window
[o_new_video_window setNativeVideoSize:videoViewSize];
[o_new_video_window makeKeyAndOrderFront: self];
......
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