summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-15 22:33:36 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-15 22:33:36 +0000
commit936420385ae40ab3041788e310bade1569cafd80 (patch)
tree18a8e0f5393d4d4797e2519ed486719574d16f4f
parent7f98aecaa51703dbb291530ad083c1b0a9209d91 (diff)
downloadmpv-936420385ae40ab3041788e310bade1569cafd80.tar.bz2
mpv-936420385ae40ab3041788e310bade1569cafd80.tar.xz
Sync with vo_x11: make sure we get expose events even when drawing to the root window.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27933 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libvo/vo_xv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index a4a1316033..f18c64f40f 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -265,7 +265,8 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
XMapWindow(mDisplay, vo_window);
vo_x11_update_geometry();
aspect_save_prescale(vo_dwidth, vo_dheight);
- }
+ } else
+ XSelectInput(mDisplay, vo_window, ExposureMask);
} else
{
vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, vo_dwidth, vo_dheight,