changeset 17415:95203f9325a3

merge of '65a2625990bbafe0f7d435e23be894ec9a7dc189' and '9000e0be743fc6ffde1eb0eff1f861bbdaec9a06'
author Sean Egan <seanegan@gmail.com>
date Fri, 01 Jun 2007 00:50:19 +0000
parents 42444b7071d3 (current diff) bfdc5995d54a (diff)
children c1d67fef5eb3 c5663c1d146f
files
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Thu May 31 21:24:43 2007 +0000
+++ b/pidgin/gtkconv.c	Fri Jun 01 00:50:19 2007 +0000
@@ -235,6 +235,10 @@
 		return FALSE;
 	}
 
+	if (gdk_window_get_state(gtkconv->win->window->window) & GDK_WINDOW_STATE_MAXIMIZED) {
+		return FALSE;
+	}
+
 	/* I find that I resize the window when it has a bunch of conversations in it, mostly so that the
 	 * tab bar will fit, but then I don't want new windows taking up the entire screen.  I check to see
 	 * if there is only one conversation in the window.  This way we'll be setting new windows to the