1
mirror of https://github.com/mpv-player/mpv synced 2025-01-01 04:36:24 +01:00

cocoa_common: create window in the correct screen

This commit is contained in:
Stefano Pigozzi 2012-11-21 13:42:55 +01:00
parent 670a4a85a9
commit 9125ba0a4f

View File

@ -323,7 +323,8 @@ static int create_window(struct vo *vo, uint32_t d_width, uint32_t d_height,
struct vo_cocoa_state *s = vo->cocoa;
struct MPOpts *opts = vo->opts;
const NSRect window_rect = NSMakeRect(0, 0, d_width, d_height);
const NSRect window_rect = NSMakeRect(xinerama_x, xinerama_y,
d_width, d_height);
const NSRect glview_rect = NSMakeRect(0, 0, 100, 100);
s->window =