| 232 return FALSE; |
232 return FALSE; |
| 233 |
233 |
| 234 if (gtkconv->auto_resize) { |
234 if (gtkconv->auto_resize) { |
| 235 return FALSE; |
235 return FALSE; |
| 236 } |
236 } |
| 237 |
|
| 238 /* Don't save the window's size if it is maximized. |
|
| 239 * It is annoying because the window reopens at that size, but not maximized */ |
|
| 240 if (gdk_window_get_state(w->window) & GDK_WINDOW_STATE_MAXIMIZED) |
|
| 241 return FALSE; |
|
| 242 |
237 |
| 243 /* I find that I resize the window when it has a bunch of conversations in it, mostly so that the |
238 /* I find that I resize the window when it has a bunch of conversations in it, mostly so that the |
| 244 * tab bar will fit, but then I don't want new windows taking up the entire screen. I check to see |
239 * tab bar will fit, but then I don't want new windows taking up the entire screen. I check to see |
| 245 * if there is only one conversation in the window. This way we'll be setting new windows to the |
240 * if there is only one conversation in the window. This way we'll be setting new windows to the |
| 246 * size of the last resized new window. */ |
241 * size of the last resized new window. */ |