[virt-tools-list] [PATCH virt-viewer v2] display-vnc: fix zoom-level set by command line
Fabiano Fidêncio
fabiano at fidencio.org
Wed Dec 10 13:13:21 UTC 2014
On Wed, Dec 10, 2014 at 2:07 PM, Pavel Grunt <pgrunt at redhat.com> wrote:
> Setting the zoom-level using the command line option '--zoom' is not
> working for vnc guests. This problem can be solved by emitting
> the "display-desktop-resize" signal when vnc is initialized.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1170071
> ---
> v2:
> - commit log changed
> ---
> src/virt-viewer-display-vnc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/virt-viewer-display-vnc.c b/src/virt-viewer-display-vnc.c
> index 1f7c11b..6605b1b 100644
> --- a/src/virt-viewer-display-vnc.c
> +++ b/src/virt-viewer-display-vnc.c
> @@ -118,6 +118,7 @@ virt_viewer_display_vnc_initialized(VncDisplay *vnc G_GNUC_UNUSED,
> {
> virt_viewer_display_set_show_hint(display,
> VIRT_VIEWER_DISPLAY_SHOW_HINT_READY, TRUE);
> + g_signal_emit_by_name(display, "display-desktop-resize");
> }
>
> static void
> --
> 1.9.3
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
ACK and pushed as 824c4b9..68148e1
Best Regards,
--
Fabiano Fidêncio
More information about the virt-tools-list
mailing list