diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2024-07-17 21:15:39 +0400 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2024-07-22 12:47:28 +0400 |
| commit | 63a5d4de589330f0a1c46f59a4b7336adda4635b (patch) | |
| tree | 5aab25ca0c8305786a0d63928fa06307e327ff85 /ui/clipboard.c | |
| parent | 81c88ce0b84db9395463901d79f7e87e9210527a (diff) | |
| download | focaccia-qemu-63a5d4de589330f0a1c46f59a4b7336adda4635b.tar.gz focaccia-qemu-63a5d4de589330f0a1c46f59a4b7336adda4635b.zip | |
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>
Diffstat (limited to 'ui/clipboard.c')
| -rw-r--r-- | ui/clipboard.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/clipboard.c b/ui/clipboard.c index 4264884a6c..132086eb13 100644 --- a/ui/clipboard.c +++ b/ui/clipboard.c @@ -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) { |