mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
ui: generalize clipboard notifier
Use a QemuClipboardNotify union type for extendable clipboard events. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
5912745288
commit
1b17f1e9f9
7 changed files with 101 additions and 29 deletions
2
ui/vnc.c
2
ui/vnc.c
|
@ -1354,7 +1354,7 @@ void vnc_disconnect_finish(VncState *vs)
|
|||
/* last client gone */
|
||||
vnc_update_server_surface(vs->vd);
|
||||
}
|
||||
if (vs->cbpeer.update.notify) {
|
||||
if (vs->cbpeer.notifier.notify) {
|
||||
qemu_clipboard_peer_unregister(&vs->cbpeer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue