[Mplayer-cvslog] CVS: main/libvo x11_common.c,1.44,1.45

Alex Beregszaszi alex at mplayer.dev.hu
Thu Jan 31 12:04:43 CET 2002


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv8259

Modified Files:
	x11_common.c 
Log Message:
added vo_x11_uninit

Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- x11_common.c	31 Jan 2002 00:37:27 -0000	1.44
+++ x11_common.c	31 Jan 2002 11:04:41 -0000	1.45
@@ -238,6 +238,18 @@
  return 1;
 }
 
+int vo_x11_uninit(Display *display, Window window)
+{
+    XUnmapWindow(display, window);
+
+    /* don't destroy window if -wid specified */
+    if (!(WinID > 0))
+	XDestroyWindow(display, window);
+
+    XCloseDisplay(display);
+    return(1);
+}
+
 #include "../linux/keycodes.h"
 #include "wskeys.h"
 




More information about the MPlayer-cvslog mailing list