changeset 17745:8d3c28521112

I think this fixes #532.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 23 May 2007 06:23:01 +0000
parents ffd85797ecab
children 2f50c067b67b
files finch/libgnt/gntmain.c finch/libgnt/gntwm.c
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntmain.c	Wed May 23 03:09:25 2007 +0000
+++ b/finch/libgnt/gntmain.c	Wed May 23 06:23:01 2007 +0000
@@ -359,8 +359,7 @@
 	switch (sig) {
 #ifdef SIGWINCH
 	case SIGWINCH:
-		werase(stdscr);
-		wrefresh(stdscr);
+		erase();
 		g_idle_add(refresh_screen, NULL);
 		org_winch_handler(sig);
 		signal(SIGWINCH, sighandler);
--- a/finch/libgnt/gntwm.c	Wed May 23 03:09:25 2007 +0000
+++ b/finch/libgnt/gntwm.c	Wed May 23 06:23:01 2007 +0000
@@ -980,12 +980,11 @@
 	GntWM *wm = GNT_WM(bindable);
 
 	endwin();
-	refresh();
-	curs_set(0);   /* endwin resets the cursor to normal */
 
 	g_hash_table_foreach(wm->nodes, (GHFunc)refresh_node, NULL);
 	update_screen(wm);
 	draw_taskbar(wm, TRUE);
+	curs_set(0);   /* endwin resets the cursor to normal */
 
 	return FALSE;
 }