[virt-tools-list] [PATCH virt-viewer v2] display-vnc: fix zoom-level set by command line
Pavel Grunt
pgrunt at redhat.com
Wed Dec 10 13:07:03 UTC 2014
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
More information about the virt-tools-list
mailing list