Guoyi Tu 1b4fd51656 ui/vdagent: call vdagent_disconnect() when agent connection is lost
when the agent connection is lost, the input handler of the mouse
doesn't deactivate, which results in unresponsive mouse events in
VNC windows.

To fix this issue, call vdagent_disconnect() to reset the state
each time the frontend disconncect

Signed-off-by: Guoyi Tu <tugy@chinatelecom.cn>
Signed-off-by: dengpengcheng <dengpc12@chinatelecom.cn>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <71fd5a58fd09f10cdb35f167b2edb5669300116e.1692281173.git.tugy@chinatelecom.cn>
2023-09-04 15:29:07 +04:00
..
2023-06-27 17:08:56 +02:00
2021-12-21 10:50:22 +04:00
2021-12-21 10:50:22 +04:00
2023-06-27 17:08:56 +02:00
2023-06-27 17:08:56 +02:00
2022-05-03 15:52:37 +04:00
2019-08-16 13:31:52 +02:00
2022-03-14 15:16:16 +04:00
2023-06-27 17:08:56 +02:00
2022-11-08 10:23:06 +01:00
2022-11-08 10:23:06 +01:00
2022-11-08 10:23:06 +01:00
2021-01-23 15:55:07 -05:00
2023-06-05 20:48:34 +02:00
2023-03-13 22:57:39 +04:00