# HG changeset patch # User pontscho # Date 999109633 0 # Node ID c0aba1ddd7be9bfa055eb4a8474ee72867fb6f93 # Parent 6f35d37af91cd30e52e98b739f3f94953f76ea13 fix vo_window again diff -r 6f35d37af91c -r c0aba1ddd7be libvo/vo_x11.c --- a/libvo/vo_x11.c Wed Aug 29 18:24:21 2001 +0000 +++ b/libvo/vo_x11.c Wed Aug 29 18:27:13 2001 +0000 @@ -371,8 +371,11 @@ } 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++;