comparison libvo/vo_x11.c @ 384:b0e4e5744899

Autohide X11 cursor
author lgb
date Fri, 13 Apr 2001 00:54:05 +0000
parents 7de9e48c83a5
children 77e0094f0cce
comparison
equal deleted inserted replaced
383:086c66d570d8 384:b0e4e5744899
223 223
224 mywindow=XCreateWindow( mDisplay,RootWindow( mDisplay,screen ), 224 mywindow=XCreateWindow( mDisplay,RootWindow( mDisplay,screen ),
225 hint.x,hint.y, 225 hint.x,hint.y,
226 hint.width,hint.height, 226 hint.width,hint.height,
227 xswa.border_pixel,depth,CopyFromParent,vinfo.visual,xswamask,&xswa ); 227 xswa.border_pixel,depth,CopyFromParent,vinfo.visual,xswamask,&xswa );
228 vo_hidecursor(mDisplay,mywindow);
228 229
229 if ( fullscreen ) vo_x11_decoration( mDisplay,mywindow,0 ); 230 if ( fullscreen ) vo_x11_decoration( mDisplay,mywindow,0 );
230 XSelectInput( mDisplay,mywindow,StructureNotifyMask ); 231 XSelectInput( mDisplay,mywindow,StructureNotifyMask );
231 XSetStandardProperties( mDisplay,mywindow,hello,hello,None,NULL,0,&hint ); 232 XSetStandardProperties( mDisplay,mywindow,hello,hello,None,NULL,0,&hint );
232 XMapWindow( mDisplay,mywindow ); 233 XMapWindow( mDisplay,mywindow );