changeset 1758:c0aba1ddd7be

fix vo_window again
author pontscho
date Wed, 29 Aug 2001 18:27:13 +0000
parents 6f35d37af91c
children df6660716f69
files libvo/vo_x11.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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++;