ui/clipboard: reset the serial state on reset
commit72ce36f77ca6fe8cf9aae5ed28d7c3c865ef887d
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 12 Sep 2022 10:24:54 +0000 (12 14:24 +0400)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 23 Sep 2022 12:38:27 +0000 (23 14:38 +0200)
tree99bca634fa94af8d4ce59b0651a0f93e902c56d6
parente46d4d684224872b8b5999a51c688ee8fffb4a1b
ui/clipboard: reset the serial state on reset

Not only we have to reset the vdagent clipboards serial state, but also
the current QEMU clipboards info serial (the value is currently used by
qemu_clipboard_check_serial, only used by -display dbus).

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220912102455.111765-5-marcandre.lureau@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/clipboard.c