gtk: don't resize window when enabling scaling

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Anthony Liguori 2013-06-03 15:36:51 -05:00
parent 651eb0f41b
commit 41686a9608

View File

@ -885,9 +885,11 @@ static void gd_menu_zoom_fit(GtkMenuItem *item, void *opaque)
s->free_scale = TRUE;
} else {
s->free_scale = FALSE;
s->scale_x = 1.0;
s->scale_y = 1.0;
gd_update_windowsize(s);
}
gd_update_windowsize(s);
gd_update_full_redraw(s);
}