soc.2008.finch: 95a26a83: This fix mitigates a problem during the ...

queueram at soc.pidgin.im queueram at soc.pidgin.im
Tue Sep 9 00:50:23 EDT 2008


-----------------------------------------------------------------
Revision: 95a26a83a59160afa46e6fe0d40dc2693ddb10bd
Ancestor: de041d1cb57fe2fa4088b3e939a627a310eb8ab7
Author: queueram at soc.pidgin.im
Date: 2008-09-09T04:48:30
Branch: im.pidgin.soc.2008.finch
URL: http://d.pidgin.im/viewmtn/revision/info/95a26a83a59160afa46e6fe0d40dc2693ddb10bd

Modified files:
        finch/libgnt/wms/tiling.c

ChangeLog: 

This fix mitigates a problem during the new_window call with a menu or
transient window.

-------------- next part --------------
============================================================
--- finch/libgnt/wms/tiling.c	7c4a5c878f172db6e5c82c5db7a85273437cab23
+++ finch/libgnt/wms/tiling.c	d9600b4e547aa9713d31bda7ce4c267b80d5980c
@@ -255,7 +255,9 @@ tiling_wm_new_window(GntWM *wm, GntWidge
 		window_reverse(win, TRUE, wm);
 	}
 	org_new_window(wm, win);
-	gnt_wm_raise_window(wm, win);
+	if (!GNT_IS_MENU(win) && !GNT_WIDGET_IS_FLAG_SET(win, GNT_WIDGET_TRANSIENT)) {
+		gnt_wm_raise_window(wm, win);
+	}
 }
 
 static gboolean


More information about the Commits mailing list