ui: refactor code for determining if an update should be sent to the client
commit0bad834228b9ee63e4239108d02dcb94568254d0
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 18 Dec 2017 19:12:23 +0000 (18 19:12 +0000)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 12 Jan 2018 12:48:54 +0000 (12 13:48 +0100)
tree5a8591d373fe72301a1f46995e96c8cb619849bb
parent728a7ac95484a7ba5e624ccbac4c1326571576b0
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>
ui/vnc.c