Commit b5e03709 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: respect video-x and video-y (finally....)

parent 762f742b
...@@ -154,6 +154,11 @@ ...@@ -154,6 +154,11 @@
if (b_nonembedded) { if (b_nonembedded) {
NSRect window_rect = [o_new_video_window getWindowRectForProposedVideoViewSize:videoViewSize]; NSRect window_rect = [o_new_video_window getWindowRectForProposedVideoViewSize:videoViewSize];
if (videoViewPosition.origin.x > 0.)
window_rect.origin.x = videoViewPosition.origin.x;
if (videoViewPosition.origin.y > 0.)
window_rect.origin.y = videoViewPosition.origin.y;
[o_new_video_window setFrame:window_rect display:YES]; [o_new_video_window setFrame:window_rect display: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