diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2015-09-09 10:34:41 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-09-15 12:27:40 +0200 |
commit | 1d73cd782fb910811a2e6b9d9b3375c4803d731c (patch) | |
tree | 482526f6e3067228f7495876615f73a2f73d406b /ui/gtk.c | |
parent | d531deef119666d4b3605e186a43010782efd899 (diff) | |
download | hqemu-1d73cd782fb910811a2e6b9d9b3375c4803d731c.zip hqemu-1d73cd782fb910811a2e6b9d9b3375c4803d731c.tar.gz |
gtk: set free_scale when setting zoom_fit
free_scale field tracks zoom-fit menu toggle state,
so we should keep them in sync ...
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'ui/gtk.c')
-rw-r--r-- | ui/gtk.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1782,6 +1782,7 @@ static GSList *gd_vc_gfx_init(GtkDisplayState *s, VirtualConsole *vc, if (dpy_ui_info_supported(vc->gfx.dcl.con)) { gtk_menu_item_activate(GTK_MENU_ITEM(s->zoom_fit_item)); + s->free_scale = true; } return group; |