src/buddy.c

changeset 3188
a71bad9ff940
parent 3159
15816c95c61c
child 3189
1f1ffa36ce46
--- a/src/buddy.c	Sat Apr 27 07:43:53 2002 +0000
+++ b/src/buddy.c	Sat Apr 27 19:41:07 2002 +0000
@@ -1986,6 +1986,16 @@
 	return g;
 }
 
+void hide_buddy_list() {
+	#ifdef USE_APPLET
+	applet_destroy_buddy();
+#else
+	XIconifyWindow(GDK_DISPLAY(),
+			GDK_WINDOW_XWINDOW(blist->window),
+			((_XPrivDisplay)GDK_DISPLAY())->default_screen);
+#endif
+}
+
 static gint log_timeout(struct buddy_show *b)
 {
 	/* this part is really just a bad hack because of a bug I can't find */

mercurial