From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZbgj-0000ib-C3 for qemu-devel@nongnu.org; Wed, 09 Sep 2015 05:29:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZbgh-0005r8-1J for qemu-devel@nongnu.org; Wed, 09 Sep 2015 05:29:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZbgg-0005r1-TB for qemu-devel@nongnu.org; Wed, 09 Sep 2015 05:29:06 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id A4A3C91DAC for ; Wed, 9 Sep 2015 09:29:06 +0000 (UTC) From: Gerd Hoffmann Date: Wed, 9 Sep 2015 11:28:56 +0200 Message-Id: <1441790938-29042-5-git-send-email-kraxel@redhat.com> In-Reply-To: <1441790938-29042-1-git-send-email-kraxel@redhat.com> References: <1441790938-29042-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 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 --- 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, 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; -- 1.8.3.1