changeset 33435:f7a492ac8d30

Make vo_x11_create_smooth_window() use its parameter mRoot instead of the global variable mRootWin. Fixes warning.
author iive
date Sun, 29 May 2011 23:00:14 +0000
parents 229982126641
children 3c93e23b8093
files libvo/x11_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Sun May 29 22:46:52 2011 +0000
+++ b/libvo/x11_common.c	Sun May 29 23:00:14 2011 +0000
@@ -1045,7 +1045,7 @@
     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)