From: Pierre-Luc Beaudoin Date: Tue, 10 Mar 2009 19:11:48 +0000 (+0200) Subject: Fix Bug 569984 – Current position lost on window resize X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2b22722d09cf6c8e7d1a48b345a3e70b988029e;p=libchamplain Fix Bug 569984 – Current position lost on window resize --- diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c index 43d7c28..431cbeb 100644 --- a/champlain/champlain-view.c +++ b/champlain/champlain-view.c @@ -746,6 +746,9 @@ viewport_x_changed_cb (GObject *gobject, priv->viewport_size.x = rect.x; priv->viewport_size.y = rect.y; + priv->longitude = viewport_get_current_longitude (priv); + priv->latitude = viewport_get_current_latitude (priv); + view_load_visible_tiles (view); view_tiles_reposition (view);