Revert "vnc: move initialization to framebuffer_update_request"
commitd239726c53fd9d3b5e6a89c5a22ed57d8ab0a9aa
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 25 Jan 2021 10:40:40 +0000 (25 11:40 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 27 Jan 2021 08:47:02 +0000 (27 09:47 +0100)
treea72338168cbb51cc650eb92e21ce9fd41f199fae
parent9cd69f1a270235b652766f00b94114f48a2d603f
Revert "vnc: move initialization to framebuffer_update_request"

This reverts commit 9e1632ad07ca49de99da4bb231e9e2f22f2d8df5.

Older gtk-vnc versions can't deal with non-incremental update
requests sending pseudo-encodings, so trying to send full server
state (including desktop size, cursor etc. which is done using
pseudo-encodings) doesn't fly.  Return to old behavior to send
those only for new connects and when changes happen.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20210125104041.495274-2-kraxel@redhat.com>
ui/vnc.c