changeset 15995:bc2dd3358d46

Don't remember the position of transient windows
author Richard Nelson <wabz@pidgin.im>
date Wed, 04 Apr 2007 23:48:22 +0000
parents bd49e48ba337
children 1f06a0433528
files finch/libgnt/gntwm.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntwm.c	Wed Apr 04 21:57:05 2007 +0000
+++ b/finch/libgnt/gntwm.c	Wed Apr 04 23:48:22 2007 +0000
@@ -1427,7 +1427,8 @@
 	move_panel(node->panel, y, x);
 
 	g_signal_emit(wm, signals[SIG_MOVED], 0, node);
-	if (gnt_style_get_bool(GNT_STYLE_REMPOS, TRUE) && GNT_IS_BOX(widget)) {
+	if (gnt_style_get_bool(GNT_STYLE_REMPOS, TRUE) && GNT_IS_BOX(widget) &&
+		!GNT_WIDGET_IS_FLAG_SET(widget, GNT_WIDGET_TRANSIENT)) {
 		const char *title = GNT_BOX(widget)->title;
 		if (title) {
 			GntPosition *p = g_new0(GntPosition, 1);