1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00

Use vo_x11_clearwindow instead of XClearWindow, both for consistency and also

because vo_x11_clearwindow works as intended also when the background is
set to None.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30497 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-02-03 21:12:23 +00:00
parent d97ee3033d
commit bc9eaa5404

View File

@ -1120,7 +1120,7 @@ void vo_x11_create_vo_window(XVisualInfo *vis, int x, int y,
if (!vo_border) vo_x11_decoration(mDisplay, vo_window, 0);
// map window
XMapWindow(mDisplay, vo_window);
XClearWindow(mDisplay, vo_window);
vo_x11_clearwindow(mDisplay, vo_window);
// wait for map
do {
XNextEvent(mDisplay, &xev);