diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-03 21:12:23 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-03 21:12:23 +0000 |
commit | bc9eaa540474e1537908864344641ee4ea7c4294 (patch) | |
tree | df4c3b3e60a166a8258d29a2b35908293fb6b42e | |
parent | d97ee3033df7f7be52c44f4cf3647956f26175bc (diff) |
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
-rw-r--r-- | libvo/x11_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 3dd032178c..871ab62940 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -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); |