mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
[HVM][VNC] Make sure that the vnc viewer gets the right resolution when it
connects. Signed-off-by: Steven Smith <sos22@cam.ac.uk>
This commit is contained in:
1 parent
5e90e86402
commit
97cb77381a
1 file changed
+2
@@ -1137,6 +1137,8 @@ static int protocol_client_init(VncState *vs, char *data, size_t len)
|
||||
size_t l;
|
||||
char pad[3] = { 0, 0, 0 };
|
||||
|
||||
vga_hw_update();
|
||||
|
||||
vs->width = vs->ds->width;
|
||||
vs->height = vs->ds->height;
|
||||
vnc_write_u16(vs, vs->ds->width);
|
||||
|
||||