From 505dbf9b99e937853c02d7995f9eebe95508e8d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Mon, 19 Jul 2021 19:49:56 +0400 Subject: ui/clipboard: add a clipboard reset serial event MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Acked-by: Gerd Hoffmann --- ui/vnc-clipboard.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ui/vnc-clipboard.c') 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; } } -- cgit v1.2.3