[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 00/12] Clipboard fixes (for 6.1?)
From: |
marcandre . lureau |
Subject: |
[PATCH 00/12] Clipboard fixes (for 6.1?) |
Date: |
Mon, 19 Jul 2021 11:26:42 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Hi,
Here is a few fixes I have collected while working on clipboard-related code.
There are some obvious code improvements/fixes, and better handling of release &
unregister to avoid dangling pointers and improve user experience.
Marc-André Lureau (12):
ui/vdagent: fix leak on error path
ui/vdagent: remove copy-pasta comment
ui/gtk-clipboard: use existing macros
ui/gtk-clipboard: fix clipboard enum typo
ui/clipboard: add helper to retrieve current clipboard
ui/clipboard: release owned grabs on unregister
ui/vdagent: unregister clipboard peer on finalize
ui/vdagent: split clipboard recv message handling
ui/vdagent: use qemu_clipboard_info helper
ui/gtk-clipboard: use qemu_clipboard_info helper
ui/vdagent: send release when no clipboard owner
ui/gtk-clipboard: emit release clipboard events
include/ui/clipboard.h | 11 +++
include/ui/gtk.h | 1 -
ui/clipboard.c | 24 +++++
ui/gtk-clipboard.c | 30 +++----
ui/vdagent.c | 200 +++++++++++++++++++++++++----------------
5 files changed, 173 insertions(+), 93 deletions(-)
--
2.32.0.93.g670b81a890
- [PATCH 00/12] Clipboard fixes (for 6.1?),
marcandre . lureau <=
- [PATCH 01/12] ui/vdagent: fix leak on error path, marcandre . lureau, 2021/07/19
- [PATCH 02/12] ui/vdagent: remove copy-pasta comment, marcandre . lureau, 2021/07/19
- [PATCH 03/12] ui/gtk-clipboard: use existing macros, marcandre . lureau, 2021/07/19
- [PATCH 04/12] ui/gtk-clipboard: fix clipboard enum typo, marcandre . lureau, 2021/07/19
- [PATCH 05/12] ui/clipboard: add helper to retrieve current clipboard, marcandre . lureau, 2021/07/19
- [PATCH 06/12] ui/clipboard: release owned grabs on unregister, marcandre . lureau, 2021/07/19
- [PATCH 07/12] ui/vdagent: unregister clipboard peer on finalize, marcandre . lureau, 2021/07/19
- [PATCH 08/12] ui/vdagent: split clipboard recv message handling, marcandre . lureau, 2021/07/19