mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
ui/clipboard: add qemu_clipboard_peer_release() helper
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20210805135715.857938-8-marcandre.lureau@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
482bbaf477
commit
1387865eca
2 changed files with 23 additions and 0 deletions
|
@ -120,6 +120,17 @@ void qemu_clipboard_peer_unregister(QemuClipboardPeer *peer);
|
|||
bool qemu_clipboard_peer_owns(QemuClipboardPeer *peer,
|
||||
QemuClipboardSelection selection);
|
||||
|
||||
/**
|
||||
* qemu_clipboard_peer_release
|
||||
*
|
||||
* @peer: peer information.
|
||||
* @selection: clipboard selection.
|
||||
*
|
||||
* If the peer owns the clipboard, release it.
|
||||
*/
|
||||
void qemu_clipboard_peer_release(QemuClipboardPeer *peer,
|
||||
QemuClipboardSelection selection);
|
||||
|
||||
/**
|
||||
* qemu_clipboard_info
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue