Mercurial > mplayer.hg
comparison libvo/vo_x11.c @ 4017:21a75ab24703
Xinerama patch number two by attila.
author | atmos4 |
---|---|
date | Sun, 06 Jan 2002 21:07:20 +0000 |
parents | fc1db33734e7 |
children | 76ea6f97ebb7 |
comparison
equal
deleted
inserted
replaced
4016:b47918337a66 | 4017:21a75ab24703 |
---|---|
296 vo_hidecursor(mDisplay,mywindow); | 296 vo_hidecursor(mDisplay,mywindow); |
297 if ( fullscreen ) vo_x11_decoration( mDisplay,mywindow,0 ); | 297 if ( fullscreen ) vo_x11_decoration( mDisplay,mywindow,0 ); |
298 XSelectInput( mDisplay,mywindow,StructureNotifyMask ); | 298 XSelectInput( mDisplay,mywindow,StructureNotifyMask ); |
299 XSetStandardProperties( mDisplay,mywindow,hello,hello,None,NULL,0,&hint ); | 299 XSetStandardProperties( mDisplay,mywindow,hello,hello,None,NULL,0,&hint ); |
300 XMapWindow( mDisplay,mywindow ); | 300 XMapWindow( mDisplay,mywindow ); |
301 #ifdef HAVE_XINERAMA | |
302 vo_x11_xinerama_move(mDisplay,mywindow); | |
303 #endif | |
301 do { XNextEvent( mDisplay,&xev ); } while ( xev.type != MapNotify || xev.xmap.event != mywindow ); | 304 do { XNextEvent( mDisplay,&xev ); } while ( xev.type != MapNotify || xev.xmap.event != mywindow ); |
302 XSelectInput( mDisplay,mywindow,NoEventMask ); | 305 XSelectInput( mDisplay,mywindow,NoEventMask ); |
303 | 306 |
304 XFlush( mDisplay ); | 307 XFlush( mDisplay ); |
305 XSync( mDisplay,False ); | 308 XSync( mDisplay,False ); |