mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-31 02:55:52 +00:00
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
This commit is contained in:
parent
824c4b9c0d
commit
68148e1bd1
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user