summaryrefslogtreecommitdiffstats
path: root/video/image_writer.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-15 23:47:00 +0200
committerwm4 <wm4@nowhere>2014-05-15 23:56:14 +0200
commit9bfe3f394c14b3d5cdae5bfff565a1e6fae94315 (patch)
treeed3b0e01a5d08da0958b3067c6ab29d7151b8734 /video/image_writer.c
parent1eee4d779954974cd413be5e46f1ed877836ef31 (diff)
downloadmpv-9bfe3f394c14b3d5cdae5bfff565a1e6fae94315.tar.bz2
mpv-9bfe3f394c14b3d5cdae5bfff565a1e6fae94315.tar.xz
x11: wait until the window is mapped
This blocks everything, until the window is actually reported as mapped. This fixes the race condition between VO initialization and mapping the window, which resulted in possibly different window sizes, leading to an immediate redraw, visible as flashing. Note that if the map event never comes for some reason, we're out of luck and will block forever.
Diffstat (limited to 'video/image_writer.c')
0 files changed, 0 insertions, 0 deletions