diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2021-07-19 19:49:56 +0400 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2021-12-21 10:50:21 +0400 |
| commit | 505dbf9b99e937853c02d7995f9eebe95508e8d4 (patch) | |
| tree | 1e710bb13a8d7d17045636fe98bca04b349a2812 /ui/clipboard.c | |
| parent | 349504e5a1533c795cd5f72e629766b996982050 (diff) | |
| download | focaccia-qemu-505dbf9b99e937853c02d7995f9eebe95508e8d4.tar.gz focaccia-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 'ui/clipboard.c')
| -rw-r--r-- | ui/clipboard.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/clipboard.c b/ui/clipboard.c index ffbd80e5c6..82572ea116 100644 --- a/ui/clipboard.c +++ b/ui/clipboard.c @@ -129,6 +129,13 @@ void qemu_clipboard_request(QemuClipboardInfo *info, info->owner->request(info, type); } +void qemu_clipboard_reset_serial(void) +{ + QemuClipboardNotify notify = { .type = QEMU_CLIPBOARD_RESET_SERIAL }; + + notifier_list_notify(&clipboard_notifiers, ¬ify); +} + void qemu_clipboard_set_data(QemuClipboardPeer *peer, QemuClipboardInfo *info, QemuClipboardType type, |