pidgin: 0f0a3d5a: Update hardware cursor correctly after a...
sadrul at pidgin.im
sadrul at pidgin.im
Sun Apr 5 07:46:21 EDT 2009
-----------------------------------------------------------------
Revision: 0f0a3d5ad3928e605399ee5651b889a01e29d178
Ancestor: 4a4ac072a94f76c4cf302f8c462f025e80734304
Author: sadrul at pidgin.im
Date: 2009-04-05T11:44:03
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/0f0a3d5ad3928e605399ee5651b889a01e29d178
Modified files:
finch/libgnt/gntwm.c
ChangeLog:
Update hardware cursor correctly after a transient window is closed.
-------------- next part --------------
============================================================
--- finch/libgnt/gntwm.c 2162fb2f2676ff2855fdc6f3f990d0353cb10c3b
+++ finch/libgnt/gntwm.c b8955ba17435b594f3d7fbf82fc0c61661b0b968
@@ -1896,6 +1896,7 @@ void gnt_wm_window_close(GntWM *wm, GntW
{
GntWS *s;
int pos;
+ gboolean transient = !!GNT_WIDGET_IS_FLAG_SET(widget, GNT_WIDGET_TRANSIENT);
s = gnt_wm_widget_find_workspace(wm, widget);
@@ -1919,6 +1920,8 @@ void gnt_wm_window_close(GntWM *wm, GntW
if (s->ordered && wm->cws == s)
gnt_wm_raise_window(wm, s->ordered->data);
}
+ } else if (transient && wm->cws && wm->cws->ordered) {
+ gnt_wm_update_window(wm, wm->cws->ordered->data);
}
gnt_ws_draw_taskbar(wm->cws, FALSE);
More information about the Commits
mailing list