Update the irssi WM to not touch the screen when something else is using it.

Tue, 03 Jul 2007 11:07:53 +0000

author
Sadrul Habib Chowdhury <sadrul@pidgin.im>
date
Tue, 03 Jul 2007 11:07:53 +0000
changeset 18602
93ca53286fa1
parent 18601
72458bcaaa87
child 18603
99a3588da5b1

Update the irssi WM to not touch the screen when something else is using it.

finch/libgnt/wms/irssi.c file | annotate | diff | comparison | revisions
--- a/finch/libgnt/wms/irssi.c	Tue Jul 03 09:42:48 2007 +0000
+++ b/finch/libgnt/wms/irssi.c	Tue Jul 03 11:07:53 2007 +0000
@@ -181,8 +181,10 @@
 			GNT_BOX(node->me)->title);
 	wbkgdset(node->window, '\0' | COLOR_PAIR(gnt_widget_has_focus(node->me) ? GNT_COLOR_TITLE : GNT_COLOR_TITLE_D));
 	mvwaddstr(node->window, 0, 0, title);
-	update_panels();
-	doupdate();
+	if (!gnt_is_refugee()) {
+		update_panels();
+		doupdate();
+	}
 	return FALSE;
 }
 

mercurial