pidgin: 2ad6164d: gnt: Restore hardware cursor after reord...

sadrul at pidgin.im sadrul at pidgin.im
Thu Jan 28 00:11:24 EST 2010


-----------------------------------------------------------------
Revision: 2ad6164d01badb4f7049cc123c04bff6a25c5f84
Ancestor: 7b3ef0848311ece85cb16e2d8d03ba856a053903
Author: sadrul at pidgin.im
Date: 2010-01-28T05:06:24
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/2ad6164d01badb4f7049cc123c04bff6a25c5f84

Modified files:
        finch/libgnt/gntwm.c

ChangeLog: 

gnt: Restore hardware cursor after reordering windows.

-------------- next part --------------
============================================================
--- finch/libgnt/gntwm.c	b8955ba17435b594f3d7fbf82fc0c61661b0b968
+++ finch/libgnt/gntwm.c	526406516c94898e3c9d035de56b995753a184eb
@@ -889,6 +889,13 @@ shift_window(GntWM *wm, GntWidget *widge
 	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


More information about the Commits mailing list