# HG changeset patch # User Sean Egan # Date 1180658966 0 # Node ID bfdc5995d54af49b9eac8d8e7ac0a415916f6141 # Parent e7595d13fd63d3cfc9749474e0f6cd094d39a9c9 Don't save conversation window size to prefs if the window is maximized. Fixes #920 diff -r e7595d13fd63 -r bfdc5995d54a pidgin/gtkconv.c --- a/pidgin/gtkconv.c Thu May 31 20:22:43 2007 +0000 +++ b/pidgin/gtkconv.c Fri Jun 01 00:49:26 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