aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-10-02 02:12:46 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-10-02 02:12:46 +0000
commit33f6d712c179ed3dcaec1fe22b043b0c36d962e3 (patch)
tree20b68470916db9171e0de65b5175c0def8002ecc /src/mainwindow.c
parentab98266c57776e32490420cfeadbb7ec20381c84 (diff)
don't update position if window is hidden.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1205 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 76a4e7ba..028e6b4a 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -1560,7 +1560,7 @@ void main_window_get_position(MainWindow *mainwin)
gint x, y;
GtkWidget *window;
- if (prefs_common.mainwin_maximized)
+ if (prefs_common.mainwin_maximized || mainwin->window_hidden)
return;
gtkut_widget_get_uposition(mainwin->window, &x, &y);