finch/libgnt/gntwm.c

changeset 29237
c34ebb81ce4a
parent 29236
a1582a87b6ce
child 31294
73607ab89c6f
--- a/finch/libgnt/gntwm.c	Thu Jan 28 05:06:24 2010 +0000
+++ b/finch/libgnt/gntwm.c	Thu Jan 28 17:24:13 2010 +0000
@@ -1113,12 +1113,20 @@
 refresh_screen(GntBindable *bindable, GList *null)
 {
 	GntWM *wm = GNT_WM(bindable);
+	GList *iter;
 
 	endwin();
 	refresh();
 
 	g_hash_table_foreach(wm->nodes, (GHFunc)refresh_node, GINT_TO_POINTER(TRUE));
 	g_signal_emit(wm, signals[SIG_TERMINAL_REFRESH], 0);
+
+	for (iter = g_list_last(wm->cws->ordered); iter; iter = iter->prev) {
+		GntWidget *w = iter->data;
+		GntNode *node = g_hash_table_lookup(wm->nodes, w);
+		top_panel(node->panel);
+	}
+
 	gnt_ws_draw_taskbar(wm->cws, TRUE);
 	update_screen(wm);
 	curs_set(0);   /* endwin resets the cursor to normal */

mercurial