[MPlayer-cvslog] r30497 - trunk/libvo/x11_common.c

reimar subversion at mplayerhq.hu
Wed Feb 3 22:12:23 CET 2010


Author: reimar
Date: Wed Feb  3 22:12:23 2010
New Revision: 30497

Log:
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.

Modified:
   trunk/libvo/x11_common.c

Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c	Wed Feb  3 18:50:18 2010	(r30496)
+++ trunk/libvo/x11_common.c	Wed Feb  3 22:12:23 2010	(r30497)
@@ -1120,7 +1120,7 @@ void vo_x11_create_vo_window(XVisualInfo
     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);


More information about the MPlayer-cvslog mailing list