[PATCH 0/2] Fix and re-enable GTK clipboard

Jindřich Makovička posted 2 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260425-gtk-clipboard-v1-0-6bd99e708e14@gmail.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>
There is a newer version of this series
meson.build        |  4 ----
meson_options.txt  |  2 --
ui/gtk-clipboard.c | 47 ++++++++++++++++++++++++++++++++++-------------
ui/gtk.c           |  2 --
ui/meson.build     |  4 +---
5 files changed, 35 insertions(+), 24 deletions(-)
[PATCH 0/2] Fix and re-enable GTK clipboard
Posted by Jindřich Makovička 1 month ago
The following patches change blocking clipboard retrieval function
calls in gtk-clipboard.c to non-blocking variants using callbacks to
avoid UI lockup. It is a follow-up to the patch proposed in the GitLab
issue

https://gitlab.com/qemu-project/qemu/-/work_items/1150

This version adds a similar change to gd_clipboard_request that also
uses the blocking clipboard API.

The second patch removes the gtk-clipboard flag, keeping the GTK
clipboard always enabled.

Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
---
Jindřich Makovička (2):
      ui/gtk: Use non-blocking clipboard retrieval
      ui/gtk: Keep GTK clipboard enabled

 meson.build        |  4 ----
 meson_options.txt  |  2 --
 ui/gtk-clipboard.c | 47 ++++++++++++++++++++++++++++++++++-------------
 ui/gtk.c           |  2 --
 ui/meson.build     |  4 +---
 5 files changed, 35 insertions(+), 24 deletions(-)
---
base-commit: 4bde339ecb41b16e90810233ba5ee2fa87bd443f
change-id: 20260425-gtk-clipboard-fdf99db13ac0

Best regards,
-- 
Jindrich Makovicka