[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:
Steven Smith committed 2006-09-22 20:20:57 +01:00
1 parent 5e90e86402
commit 97cb77381a
1 file changed
+2
+2
View File
@@ -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);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.