]> git.ipfire.org Git - thirdparty/qemu.git/commit
ui: refactor code for determining if an update should be sent to the client
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 18 Dec 2017 19:12:23 +0000 (19:12 +0000)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 13 Feb 2018 00:34:09 +0000 (18:34 -0600)
commit5af9f2504fa2bc393b5b2d49ff1a85e5e11016bc
tree146707208cc9224c7162ed8730f86086d06ce879
parent2e6571e6713d7d2b6156c99c9067cc1aa8008098
ui: refactor code for determining if an update should be sent to the client

The logic for determining if it is possible to send an update to the client
will become more complicated shortly, so pull it out into a separate method
for easier extension later.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20171218191228.31018-9-berrange@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 0bad834228b9ee63e4239108d02dcb94568254d0)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
ui/vnc.c