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:
parent
7f98aecaa5
commit
936420385a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user