mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
ui/vdagent: notify clipboard peers of serial reset
Since we reset the serial counters, peers should also be reset to be sync. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20240717171541.201525-4-marcandre.lureau@redhat.com>
This commit is contained in:
parent
81c88ce0b8
commit
63a5d4de58
3 changed files with 5 additions and 0 deletions
|
@ -155,6 +155,8 @@ void qemu_clipboard_reset_serial(void)
|
|||
QemuClipboardNotify notify = { .type = QEMU_CLIPBOARD_RESET_SERIAL };
|
||||
int i;
|
||||
|
||||
trace_clipboard_reset_serial();
|
||||
|
||||
for (i = 0; i < QEMU_CLIPBOARD_SELECTION__COUNT; i++) {
|
||||
QemuClipboardInfo *info = qemu_clipboard_info(i);
|
||||
if (info) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue