changeset 18424:0b71d043a1f1

Update the irssi WM to not touch the screen when something else is using it.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 03 Jul 2007 11:07:53 +0000
parents 48067a8f6a32
children 84d318eadc62
files finch/libgnt/wms/irssi.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }