summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2014-12-10 14:07:03 +0100
committerFabiano FidĂȘncio <fidencio@redhat.com>2014-12-10 14:11:57 +0100
commit68148e1bd1a47ff370c78e2569a57ae0f3d8a400 (patch)
tree26f84d8c066c19ab3d7896f33842f305bd1b76b4 /src
parent824c4b9c0d8e75ee82d0656ffc4fc525fd446ceb (diff)
display-vnc: fix zoom-level set by command line
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
Diffstat (limited to 'src')
-rw-r--r--src/virt-viewer-display-vnc.c1
1 files changed, 1 insertions, 0 deletions
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