mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
gtk: don't resize window when enabling scaling
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
651eb0f41b
commit
41686a9608
1 changed files with 3 additions and 1 deletions
4
ui/gtk.c
4
ui/gtk.c
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue