From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zbndk-0000Fj-80 for qemu-devel@nongnu.org; Tue, 15 Sep 2015 06:39:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zbnde-00068N-4A for qemu-devel@nongnu.org; Tue, 15 Sep 2015 06:39:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zbndd-00067w-Vp for qemu-devel@nongnu.org; Tue, 15 Sep 2015 06:39:02 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id ABCF08CF6A for ; Tue, 15 Sep 2015 10:39:01 +0000 (UTC) From: Gerd Hoffmann Date: Tue, 15 Sep 2015 12:38:53 +0200 Message-Id: <1442313535-4549-5-git-send-email-kraxel@redhat.com> In-Reply-To: <1442313535-4549-1-git-send-email-kraxel@redhat.com> References: <1442313535-4549-1-git-send-email-kraxel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 4/6] gtk: set free_scale when setting zoom_fit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann free_scale field tracks zoom-fit menu toggle state, so we should keep them in sync ... Signed-off-by: Gerd Hoffmann Reviewed-by: Marc-Andr=C3=A9 Lureau --- ui/gtk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/gtk.c b/ui/gtk.c index 322d112..2629d97 100644 --- a/ui/gtk.c +++ b/ui/gtk.c @@ -1782,6 +1782,7 @@ static GSList *gd_vc_gfx_init(GtkDisplayState *s, V= irtualConsole *vc, =20 if (dpy_ui_info_supported(vc->gfx.dcl.con)) { gtk_menu_item_activate(GTK_MENU_ITEM(s->zoom_fit_item)); + s->free_scale =3D true; } =20 return group; --=20 1.8.3.1