diff options
author | wm4 <wm4@nowhere> | 2015-02-03 23:19:38 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-02-03 23:19:38 +0100 |
commit | acc5e8f57419debdb74234a228b44db75023e28b (patch) | |
tree | 264325d71890401d379ad85e4c895e473eae94a2 /waftools | |
parent | c3c714b05903c26656e14c0bf229d873b73a0899 (diff) | |
download | mpv-acc5e8f57419debdb74234a228b44db75023e28b.tar.bz2 mpv-acc5e8f57419debdb74234a228b44db75023e28b.tar.xz |
player: make --force-window create the window immediately on start
Before this change, window creation was delayed until the video was
initialized. This guaranteed that the first window size was that of the
video, so the WM would place it correctly.
Some time ago, it was requested on the IRC channel that --force-window
should not do this. Sometimes, it can take a while until video is
initialized, e.g. when youtube-dl is used (which incurs lots of network
delay). In this case, it's awkward that it takes so long until a window
(any window) is shown.
On the other hand, this can cause incorrect window placement with some
WMs. We simply hope that this won't happen with modern WMs. (Although it
does with the WM I use, crappy old IceWM.)
Diffstat (limited to 'waftools')
0 files changed, 0 insertions, 0 deletions