changeset 1909:3eb0a1217bf1

Fix multiple window bug in multifile mode.
author atmos4
date Tue, 18 Sep 2001 14:06:25 +0000
parents b27a56d158de
children 06fa415119bc
files libvo/vo_x11.c libvo/vo_xmga.c libvo/vo_xv.c
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_x11.c	Tue Sep 18 13:45:38 2001 +0000
+++ b/libvo/vo_x11.c	Tue Sep 18 14:06:25 2001 +0000
@@ -568,7 +568,7 @@
           free(vidmodes);
         }
 #endif
- XClearWindow( mDisplay,mywindow );
+ XDestroyWindow( mDisplay,mywindow );
 printf("vo: uninit!\n");
 }
 
--- a/libvo/vo_xmga.c	Tue Sep 18 13:45:38 2001 +0000
+++ b/libvo/vo_xmga.c	Tue Sep 18 14:06:25 2001 +0000
@@ -348,6 +348,6 @@
 #endif
   saver_on(mDisplay);
  mga_uninit();
- XClearWindow( mDisplay,mWindow );
+ XDestroyWindow( mDisplay,mWindow );
  printf("vo: uninit!\n");
 }
--- a/libvo/vo_xv.c	Tue Sep 18 13:45:38 2001 +0000
+++ b/libvo/vo_xv.c	Tue Sep 18 14:06:25 2001 +0000
@@ -488,7 +488,7 @@
 #endif
   saver_on(mDisplay); // screen saver back on
  for( i=0;i<num_buffers;i++ ) deallocate_xvimage( i );
- XClearWindow( mDisplay,mywindow );
+ XDestroyWindow( mDisplay,mywindow );
 }