changeset 29303:8bacc2a70576

gnt: Restore hardware cursor after reordering windows.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 28 Jan 2010 05:06:24 +0000
parents 5a64fd0f740b
children 06144d315c08
files finch/libgnt/gntwm.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntwm.c	Wed Jan 27 22:23:30 2010 +0000
+++ b/finch/libgnt/gntwm.c	Thu Jan 28 05:06:24 2010 +0000
@@ -889,6 +889,13 @@
 	all = g_list_delete_link(all, list);
 	wm->cws->list = all;
 	gnt_ws_draw_taskbar(wm->cws, FALSE);
+	if (wm->cws->ordered) {
+		GntWidget *w = wm->cws->ordered->data;
+		GntNode *node = g_hash_table_lookup(wm->nodes, w);
+		top_panel(node->panel);
+		update_panels();
+		doupdate();
+	}
 }
 
 static gboolean