changeset 27899:69dd19cdcdc5

Sync with vo_x11: make sure we get expose events even when drawing to the root window.
author reimar
date Sat, 15 Nov 2008 22:33:36 +0000
parents a669c9a426ca
children 4115aa1e880e
files libvo/vo_xv.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_xv.c	Sat Nov 15 22:25:11 2008 +0000
+++ b/libvo/vo_xv.c	Sat Nov 15 22:33:36 2008 +0000
@@ -265,7 +265,8 @@
                 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,