diff options
author | Marc-André Lureau | 2021-07-19 17:49:56 +0200 |
---|---|---|
committer | Marc-André Lureau | 2021-12-21 07:50:21 +0100 |
commit | 505dbf9b99e937853c02d7995f9eebe95508e8d4 (patch) | |
tree | 1e710bb13a8d7d17045636fe98bca04b349a2812 /include/ui | |
parent | ui/clipboard: add qemu_clipboard_check_serial() (diff) | |
download | qemu-505dbf9b99e937853c02d7995f9eebe95508e8d4.tar.gz qemu-505dbf9b99e937853c02d7995f9eebe95508e8d4.tar.xz qemu-505dbf9b99e937853c02d7995f9eebe95508e8d4.zip |
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 'include/ui')
-rw-r--r-- | include/ui/clipboard.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/ui/clipboard.h b/include/ui/clipboard.h index 2c6488c1ee..ce76aa451f 100644 --- a/include/ui/clipboard.h +++ b/include/ui/clipboard.h @@ -73,11 +73,13 @@ struct QemuClipboardPeer { * enum QemuClipboardNotifyType * * @QEMU_CLIPBOARD_UPDATE_INFO: clipboard info update + * @QEMU_CLIPBOARD_RESET_SERIAL: reset clipboard serial * * Clipboard notify type. */ enum QemuClipboardNotifyType { QEMU_CLIPBOARD_UPDATE_INFO, + QEMU_CLIPBOARD_RESET_SERIAL, }; /** @@ -231,6 +233,13 @@ void qemu_clipboard_info_unref(QemuClipboardInfo *info); void qemu_clipboard_update(QemuClipboardInfo *info); /** + * qemu_clipboard_reset_serial + * + * Reset the clipboard serial. + */ +void qemu_clipboard_reset_serial(void); + +/** * qemu_clipboard_request * * @info: clipboard info. |