summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xmga.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-09-20 10:26:22 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-09-20 10:26:22 +0000
commitd4e44fe64c7c665c0d5d2201b947ad0da6574cd3 (patch)
tree2a4e6e125504ca8dc43cccfc8667d524df74f9b3 /libvo/vo_xmga.c
parentaf22e5a6ae056fce608b4743f41e14e2a1930454 (diff)
downloadmpv-d4e44fe64c7c665c0d5d2201b947ad0da6574cd3.tar.bz2
mpv-d4e44fe64c7c665c0d5d2201b947ad0da6574cd3.tar.xz
XDestroyWindow fix baze.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1925 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xmga.c')
-rw-r--r--libvo/vo_xmga.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c
index ad5912b568..f3eca823d9 100644
--- a/libvo/vo_xmga.c
+++ b/libvo/vo_xmga.c
@@ -346,8 +346,10 @@ uninit(void)
#ifdef HAVE_NEW_GUI
if ( vo_window == None )
#endif
+ {
saver_on(mDisplay);
+ XDestroyWindow( mDisplay,mWindow );
+ }
mga_uninit();
- XDestroyWindow( mDisplay,mWindow );
printf("vo: uninit!\n");
}