1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-20 06:46:55 +00:00

fix vo_window again

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1759 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2001-08-29 18:27:13 +00:00
parent a6ec81e030
commit 9e697fca78

View File

@ -371,8 +371,11 @@ printf( "w: %d h: %d\n\n",vo_dwidth,vo_dheight );
}
if( format==IMGFMT_YV12 ) yuv2rgb_init( ( depth == 24 ) ? bpp : depth,mode );
if ( vo_window == None ) XSelectInput( mDisplay,mywindow,StructureNotifyMask | KeyPressMask );
#ifdef HAVE_NEW_GUI
if ( vo_window == None )
#endif
XSelectInput( mDisplay,mywindow,StructureNotifyMask | KeyPressMask );
X_already_started++;