From 3f2a559bab222e74bc47be80147def38aee43a2e Mon Sep 17 00:00:00 2001 From: arpi Date: Wed, 2 Jan 2002 19:14:05 +0000 Subject: [PATCH] 10l git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3955 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/x11_common.c | 4 ++-- 1 file 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);