ui/gtk-clipboard: emit release clipboard events
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20210805135715.857938-18-marcandre.lureau@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
314bf50086
commit
8038c5b646
@ -163,6 +163,8 @@ static void gd_owner_change(GtkClipboard *clipboard,
|
||||
qemu_clipboard_info_unref(info);
|
||||
break;
|
||||
default:
|
||||
qemu_clipboard_peer_release(&gd->cbpeer, s);
|
||||
gd->cbowner[s] = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user