changeset 30455:cfebff6a5ef9

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.
author reimar
date Wed, 03 Feb 2010 21:12:23 +0000
parents c6ccbae868cf
children 0eee9d2e7a1d
files libvo/x11_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Wed Feb 03 17:50:18 2010 +0000
+++ b/libvo/x11_common.c	Wed Feb 03 21:12:23 2010 +0000
@@ -1120,7 +1120,7 @@
     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);