projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d531dee
)
gtk: set free_scale when setting zoom_fit
author
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 9 Sep 2015 08:34:41 +0000
(10:34 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 15 Sep 2015 10:27:40 +0000
(12:27 +0200)
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>
ui/gtk.c
patch
|
blob
|
history
diff --git
a/ui/gtk.c
b/ui/gtk.c
index
322d112
..
2629d97
100644
(file)
--- a/
ui/gtk.c
+++ b/
ui/gtk.c
@@
-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;