diff finch/libgnt/gntwm.c @ 17251:8d3c28521112

I think this fixes #532.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 23 May 2007 06:23:01 +0000
parents e5cc13b1e0ca
children c0c17a81f5fe
line wrap: on
line diff
--- 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;
 }