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