Mercurial > mplayer.hg
comparison libvo/x11_common.c @ 3951:50be9c235764
do not hide cursur if play at rootwin. based on patch by Tomas Konir <moje@molly.vabo.cz>
author | arpi |
---|---|
date | Wed, 02 Jan 2002 18:41:25 +0000 |
parents | fc1db33734e7 |
children | 8deed4f72dfb |
comparison
equal
deleted
inserted
replaced
3950:e92653caf5d7 | 3951:50be9c235764 |
---|---|
48 /* output window id */ | 48 /* output window id */ |
49 int WinID=-1; | 49 int WinID=-1; |
50 | 50 |
51 void vo_hidecursor ( Display *disp , Window win ) | 51 void vo_hidecursor ( Display *disp , Window win ) |
52 { | 52 { |
53 if(WinID==0) return; // do not hide, if we're playing at rootwin | |
54 | |
53 Cursor no_ptr; | 55 Cursor no_ptr; |
54 Pixmap bm_no; | 56 Pixmap bm_no; |
55 XColor black,dummy; | 57 XColor black,dummy; |
56 Colormap colormap; | 58 Colormap colormap; |
57 static unsigned char bm_no_data[] = { 0,0,0,0, 0,0,0,0 }; | 59 static unsigned char bm_no_data[] = { 0,0,0,0, 0,0,0,0 }; |