summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
authorlgb <lgb@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-13 00:54:05 +0000
committerlgb <lgb@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-13 00:54:05 +0000
commit8b84635c64500dc48ba1785710e0168bd4a1d51f (patch)
treed5385c263dd647dc4bd6f6cab538e1cf0534cdfd /libvo/vo_xv.c
parent9daf9a82ba77041831bd87106201bb0ecb1ec9f6 (diff)
downloadmpv-8b84635c64500dc48ba1785710e0168bd4a1d51f.tar.bz2
mpv-8b84635c64500dc48ba1785710e0168bd4a1d51f.tar.xz
Autohide X11 cursor
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@385 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index e6a35567d9..422ef6f06a 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -138,6 +138,7 @@ static uint32_t init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t
mywindow = XCreateWindow(mydisplay, RootWindow(mydisplay,screen),
hint.x, hint.y, hint.width, hint.height,
0, depth,CopyFromParent,vinfo.visual,xswamask,&xswa);
+ vo_hidecursor(mydisplay,mywindow);
XSelectInput(mydisplay, mywindow, StructureNotifyMask | KeyPressMask );
XSetStandardProperties(mydisplay, mywindow, hello, hello, None, NULL, 0, &hint);