changeset 3954:8deed4f72dfb

10l
author arpi
date Wed, 02 Jan 2002 19:14:05 +0000
parents 0e22f7d7f67d
children ceab3c2f261e
files libvo/x11_common.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Wed Jan 02 19:07:41 2002 +0000
+++ b/libvo/x11_common.c	Wed Jan 02 19:14:05 2002 +0000
@@ -50,13 +50,13 @@
 
 void vo_hidecursor ( Display *disp , Window win )
 {
-	if(WinID==0) return;	// do not hide, if we're playing at rootwin
-
 	Cursor no_ptr;
 	Pixmap bm_no;
 	XColor black,dummy;
 	Colormap colormap;
 	static unsigned char bm_no_data[] = { 0,0,0,0, 0,0,0,0  };
+
+	if(WinID==0) return;	// do not hide, if we're playing at rootwin
 	
 	colormap = DefaultColormap(disp,DefaultScreen(disp));
 	XAllocNamedColor(disp,colormap,"black",&black,&dummy);