mirror of
https://github.com/mpv-player/mpv
synced 2025-02-18 13:47:04 +00:00
do not hide cursur if play at rootwin. based on patch by Tomas Konir <moje@molly.vabo.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3952 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
556b0dbdbc
commit
fe450871a8
@ -50,6 +50,8 @@ int WinID=-1;
|
|||||||
|
|
||||||
void vo_hidecursor ( Display *disp , Window win )
|
void vo_hidecursor ( Display *disp , Window win )
|
||||||
{
|
{
|
||||||
|
if(WinID==0) return; // do not hide, if we're playing at rootwin
|
||||||
|
|
||||||
Cursor no_ptr;
|
Cursor no_ptr;
|
||||||
Pixmap bm_no;
|
Pixmap bm_no;
|
||||||
XColor black,dummy;
|
XColor black,dummy;
|
||||||
|
Loading…
Reference in New Issue
Block a user