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

iive subversion at mplayerhq.hu
Mon May 30 01:00:16 CEST 2011


Author: iive
Date: Mon May 30 01:00:14 2011
New Revision: 33523

Log:
Make vo_x11_create_smooth_window() use its parameter mRoot instead
of the global variable mRootWin.

Fixes warning.

Modified:
   trunk/libvo/x11_common.c

Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c	Mon May 30 00:46:52 2011	(r33522)
+++ trunk/libvo/x11_common.c	Mon May 30 01:00:14 2011	(r33523)
@@ -1045,7 +1045,7 @@ Window vo_x11_create_smooth_window(Displ
     xswa.bit_gravity = StaticGravity;
 
     ret_win =
-        XCreateWindow(mDisplay, mRootWin, x, y, width, height, 0, depth,
+        XCreateWindow(mDisplay, mRoot, x, y, width, height, 0, depth,
                       CopyFromParent, vis, xswamask, &xswa);
     XSetWMProtocols(mDisplay, ret_win, &XAWM_DELETE_WINDOW, 1);
     if (f_gc == None)


More information about the MPlayer-cvslog mailing list