summaryrefslogtreecommitdiffstats
path: root/video/vfcap.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-02 02:06:54 +0200
committerwm4 <wm4@nowhere>2014-07-02 02:07:06 +0200
commit6d38ad14108adb63c3bcf5f09d8492162013c0fb (patch)
tree9c7f70a811ca19687cc4ee1c691b30d30a1d7b0f /video/vfcap.h
parent4b5fbb3ee0fce465de56d8484e969467e8fbe85a (diff)
downloadmpv-6d38ad14108adb63c3bcf5f09d8492162013c0fb.tar.bz2
mpv-6d38ad14108adb63c3bcf5f09d8492162013c0fb.tar.xz
x11: clear window only on initial map
Apparently clearing on every map can cause problems with vdpau when switching virtual desktops and such. This was observed with at least XMonad and nvidia-340.17. It's not observed on some other setups without XMonad. It's not clear why this happens. Normally, the window background is not saved, so clearing should have no additional affect. It's a complete mystery. Possible, the use of legacy X drawing commands (used to clear the window) interferes with vdpau operation in non-trivial ways. Work this around by clearing on initial map only. This probably only hides the underlying issue, but good enough. Closes #897. CC: @mpv-player/stable
Diffstat (limited to 'video/vfcap.h')
0 files changed, 0 insertions, 0 deletions