summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-02 19:14:05 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-02 19:14:05 +0000
commit3f2a559bab222e74bc47be80147def38aee43a2e (patch)
treefdac66679e3e4b162289742a415b7141d9ca71a8 /libvo
parent0b24b1880cec92ed900321052672ce610d7f4096 (diff)
downloadmpv-3f2a559bab222e74bc47be80147def38aee43a2e.tar.bz2
mpv-3f2a559bab222e74bc47be80147def38aee43a2e.tar.xz
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3955 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-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);