summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/x11_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 8cd238113b..7bd2668400 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -50,13 +50,13 @@ int WinID=-1;
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);