diff options
author | wm4 <wm4@nowhere> | 2013-01-27 07:47:47 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-27 13:30:54 +0100 |
commit | 75164a0e0a409958d10f56b3dabea35914daeba3 (patch) | |
tree | 8bdb8b7742aaaa4fdd84658ade301bc957e38d31 /video/out/vo_vdpau.c | |
parent | 0535a14505c367693fe729a3f1348c4ffd516af3 (diff) | |
download | mpv-75164a0e0a409958d10f56b3dabea35914daeba3.tar.bz2 mpv-75164a0e0a409958d10f56b3dabea35914daeba3.tar.xz |
x11: fix some obvious video mode switching bugs
The original video mode wasn't reliably restored, so just store the
mode separately.
For some reason, window decorations got into the picture, possibly due
to an incorrect initial window position or something like this.
Normally, the window is positioned and sized such that it covers the
screen entirely, even though the window still has decorations and is
not in fullscreen mode (fullscreen wouldn't be correct, because the
virtual desktop size is not screen size). Hack-fix by forcing window
decorations off when VM-switching.
All in all, VM switching is still buggy and useless.
Diffstat (limited to 'video/out/vo_vdpau.c')
0 files changed, 0 insertions, 0 deletions