summaryrefslogtreecommitdiffstats
path: root/osdep/path-macosx.m
diff options
context:
space:
mode:
authorAkemi <der.richter@gmx.de>2019-01-26 16:21:52 +0100
committerJan Ekström <jeebjp@gmail.com>2019-04-02 02:01:02 +0300
commitb207c1d4a1cb4e92af4ff17d0145b1adee39fc6c (patch)
tree161921f89bb31616df8b5d98eff74b50e92ca385 /osdep/path-macosx.m
parent9aa0905c10dcf2c9152b0cca7805070b111a6bb2 (diff)
downloadmpv-b207c1d4a1cb4e92af4ff17d0145b1adee39fc6c.tar.bz2
mpv-b207c1d4a1cb4e92af4ff17d0145b1adee39fc6c.tar.xz
cocoa-cb: fix a Cocoa window position on init bug
on init an NSWindow can't be placed on a none Main screen NSScreen outside the Main screen's frame bounds. To fix this we just check if the target screen is different from the main screen and if that is the case we check the actual position with the expect one. if they are different we try to reposition the window to the wanted position. Fixes #6453
Diffstat (limited to 'osdep/path-macosx.m')
0 files changed, 0 insertions, 0 deletions