diff libvo/vo_xv.c @ 1924:6185fef2703a

XDestroyWindow fix baze.
author pontscho
date Thu, 20 Sep 2001 10:26:22 +0000
parents 3eb0a1217bf1
children 624df8ea0e0e
line wrap: on
line diff
--- a/libvo/vo_xv.c	Thu Sep 20 09:12:29 2001 +0000
+++ b/libvo/vo_xv.c	Thu Sep 20 10:26:22 2001 +0000
@@ -486,9 +486,11 @@
 #ifdef HAVE_NEW_GUI
  if ( vo_window == None )
 #endif
+ {
   saver_on(mDisplay); // screen saver back on
+  XDestroyWindow( mDisplay,mywindow );
+ }
  for( i=0;i<num_buffers;i++ ) deallocate_xvimage( i );
- XDestroyWindow( mDisplay,mywindow );
 }