summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-09-18 14:06:25 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-09-18 14:06:25 +0000
commit505963e4d54b13dc9ff68177e1423121e755d406 (patch)
tree18e7c1bcb2e3f9c9826cd40b9942d0acea34237d /libvo
parent1a5a182f386f0baadc8f7bb558836c71a7b89e2a (diff)
downloadmpv-505963e4d54b13dc9ff68177e1423121e755d406.tar.bz2
mpv-505963e4d54b13dc9ff68177e1423121e755d406.tar.xz
Fix multiple window bug in multifile mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1910 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_x11.c2
-rw-r--r--libvo/vo_xmga.c2
-rw-r--r--libvo/vo_xv.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index 7ad2218acb..be6805c6de 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -568,7 +568,7 @@ uninit(void)
free(vidmodes);
}
#endif
- XClearWindow( mDisplay,mywindow );
+ XDestroyWindow( mDisplay,mywindow );
printf("vo: uninit!\n");
}
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c
index d5c3d98cff..ad5912b568 100644
--- a/libvo/vo_xmga.c
+++ b/libvo/vo_xmga.c
@@ -348,6 +348,6 @@ uninit(void)
#endif
saver_on(mDisplay);
mga_uninit();
- XClearWindow( mDisplay,mWindow );
+ XDestroyWindow( mDisplay,mWindow );
printf("vo: uninit!\n");
}
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index 2a86d48f88..032e72df37 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -488,7 +488,7 @@ static void uninit(void)
#endif
saver_on(mDisplay); // screen saver back on
for( i=0;i<num_buffers;i++ ) deallocate_xvimage( i );
- XClearWindow( mDisplay,mywindow );
+ XDestroyWindow( mDisplay,mywindow );
}