aboutsummaryrefslogtreecommitdiff
path: root/ui/vnc-clipboard.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2021-07-19 19:49:56 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2021-12-21 10:50:21 +0400
commit505dbf9b99e937853c02d7995f9eebe95508e8d4 (patch)
tree1e710bb13a8d7d17045636fe98bca04b349a2812 /ui/vnc-clipboard.c
parent349504e5a1533c795cd5f72e629766b996982050 (diff)
ui/clipboard: add a clipboard reset serial event
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/vnc-clipboard.c')
-rw-r--r--ui/vnc-clipboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/vnc-clipboard.c b/ui/vnc-clipboard.c
index 6a0b105884..d48f75eb1a 100644
--- a/ui/vnc-clipboard.c
+++ b/ui/vnc-clipboard.c
@@ -230,6 +230,9 @@ static void vnc_clipboard_notify(Notifier *notifier, void *data)
case QEMU_CLIPBOARD_UPDATE_INFO:
vnc_clipboard_update_info(vs, notify->info);
return;
+ case QEMU_CLIPBOARD_RESET_SERIAL:
+ /* ignore */
+ return;
}
}