[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/5] vnc: send desktopresize event as reply to set e
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 2/5] vnc: send desktopresize event as reply to set encodings |
Date: |
Tue, 25 May 2010 18:25:17 +0200 |
In case the desktop did resize while the vnc connection setup was still
in progress the client isn't informed about it. Send a desktop resize
event as soon as the client told us it can handle deskop resize via set
encodings message to make sure the client us up to date.
Signed-off-by: Gerd Hoffmann <address@hidden>
---
vnc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/vnc.c b/vnc.c
index aaebe24..0e0e566 100644
--- a/vnc.c
+++ b/vnc.c
@@ -1709,6 +1709,7 @@ static void set_encodings(VncState *vs, int32_t
*encodings, size_t n_encodings)
break;
}
}
+ vnc_desktop_resize(vs);
check_pointer_type_change(&vs->mouse_mode_notifier);
}
--
1.6.6.1
- [Qemu-devel] [PATCH 0/5] vnc: desktop size patches., Gerd Hoffmann, 2010/05/25
- [Qemu-devel] [PATCH 2/5] vnc: send desktopresize event as reply to set encodings,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 1/5] vnc: factor out vnc_desktop_resize(), Gerd Hoffmann, 2010/05/25
- [Qemu-devel] [PATCH 4/5] vnc: don't send invalid screen updates., Gerd Hoffmann, 2010/05/25
- [Qemu-devel] [PATCH 3/5] vnc: keep track of client desktop size, Gerd Hoffmann, 2010/05/25
- [Qemu-devel] [PATCH 5/5] vnc: move size-changed check into the vnc_desktop_resize function., Gerd Hoffmann, 2010/05/25
- Re: [Qemu-devel] [PATCH 0/5] vnc: desktop size patches., Daniel P. Berrange, 2010/05/26