vnc: move size-changed check into the vnc_desktop_resize function.
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 25 May 2010 16:25:20 +0000 (18:25 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 1 Jun 2010 18:31:40 +0000 (13:31 -0500)
commit225724f20a0e613d990a673cb27c8254b4493ee3
treedd140d42b714be23ef68ac53a7fd8cd43cca0898
parentf407b9459f967c6a86f21e31f18dadd21a85b66c
vnc: move size-changed check into the vnc_desktop_resize function.

This make sure we send a desktop resize message only in case we actually
have to, using the new variables which track the clients desktop size.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vnc.c