Move mouse-specific handling out of virtio_port_read_completemaster
commit10cab3596de0c0c4da1903596018170c31c01661
authorMichal Suchanek <msuchanek@suse.de>
Mon, 23 Jan 2017 13:53:53 +0000 (23 14:53 +0100)
committerFrediano Ziglio <fziglio@redhat.com>
Thu, 26 Jan 2017 08:06:10 +0000 (26 08:06 +0000)
tree8366ef1732077634b2686afbebd8b34c85b8c283
parentf2e0bb3c45d1f43b46e2e11bb09cbb0d67ad765f
Move mouse-specific handling out of virtio_port_read_complete

Move some mouse-specific code from the start of
virtio_port_read_complete to a separate helper
as is the case with other message types.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
src/vdagentd/vdagentd.c