summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c2
1 files changed, 1 insertions, 1 deletions
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 );
}