gtk: add zoom-to-fit to gtk options.
commite8b1386ea1719525a1a92df03377764703fe8c64
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 27 Aug 2018 09:56:20 +0000 (27 11:56 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 1 Oct 2018 09:29:03 +0000 (1 11:29 +0200)
tree15ab62a91ab3c244e23b90f511097af30b6a6bec
parentb5dc0d7d565048fcf2767060261d8385805aced1
gtk: add zoom-to-fit to gtk options.

This allows to set the option on the command line, i.e. "-display
gtk,zoom-to-fit={on,off}", overriding the default chosen by qemu.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 20180827095620.26774-1-kraxel@redhat.com
qapi/ui.json
ui/gtk.c