1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-16 04:07:08 +00:00

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
This commit is contained in:
reimar 2008-11-15 22:33:36 +00:00
parent 7f98aecaa5
commit 936420385a

View File

@ -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,