summaryrefslogtreecommitdiffstats
path: root/video/decode
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-11 16:13:28 +0200
committerwm4 <wm4@nowhere>2015-10-11 16:19:08 +0200
commit94b6a1054e6cd72b016d8a23fca56d76eaca629b (patch)
tree4fe394d9d5b46b455473da323ea4fd2a1e51c6f7 /video/decode
parentd714c8380abec5bfc6b0a9aa3e5ee82979860cf1 (diff)
downloadmpv-94b6a1054e6cd72b016d8a23fca56d76eaca629b.tar.bz2
mpv-94b6a1054e6cd72b016d8a23fca56d76eaca629b.tar.xz
cocoa: set application policy before creating window
This fixes a regression since commit f4d62da8. The original code run vo_cocoa_config_window() once without creating the window, which had the effect that the last part of the function was run at least once before the actual window was created. Fix the regression by moving it to before the window is created. The regression itself is hard to describe. One test case: start mpv from a fullscreened terminal window. It should switch to another desktop, with the mpv window visible. This didn't happen anymore.
Diffstat (limited to 'video/decode')
0 files changed, 0 insertions, 0 deletions