comparison libvo/vo_x11.c @ 1758:c0aba1ddd7be

fix vo_window again
author pontscho
date Wed, 29 Aug 2001 18:27:13 +0000
parents 39fc6cc71b3b
children 58dd326fcc4a
comparison
equal deleted inserted replaced
1757:6f35d37af91c 1758:c0aba1ddd7be
369 // printf( "No support fon non-native XImage byte order!\n" ); 369 // printf( "No support fon non-native XImage byte order!\n" );
370 // return -1; 370 // return -1;
371 } 371 }
372 372
373 if( format==IMGFMT_YV12 ) yuv2rgb_init( ( depth == 24 ) ? bpp : depth,mode ); 373 if( format==IMGFMT_YV12 ) yuv2rgb_init( ( depth == 24 ) ? bpp : depth,mode );
374 374
375 if ( vo_window == None ) XSelectInput( mDisplay,mywindow,StructureNotifyMask | KeyPressMask ); 375 #ifdef HAVE_NEW_GUI
376 if ( vo_window == None )
377 #endif
378 XSelectInput( mDisplay,mywindow,StructureNotifyMask | KeyPressMask );
376 379
377 X_already_started++; 380 X_already_started++;
378 381
379 // vo_initthread( mThread ); 382 // vo_initthread( mThread );
380 383