]> git.proxmox.com Git - mirror_qemu.git/commit
gtk: disable GTK Clipboard with a new meson option
authorClaudio Fontana <cfontana@suse.de>
Mon, 21 Nov 2022 13:55:38 +0000 (14:55 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 23 Nov 2022 11:15:06 +0000 (12:15 +0100)
commit29e0bfffab87d89c65c0890607e203b1579590a3
treeef4001c447e8ca63c72ac76535e46eccf5db5206
parentfb977a8174184c643c435c26d376793acb11c82e
gtk: disable GTK Clipboard with a new meson option

The GTK Clipboard implementation may cause guest hangs.

Therefore implement new configure switch: --enable-gtk-clipboard,

as a meson option disabled by default, which warns in the help
text about the experimental nature of the feature.
Regenerate the meson build options to include it.

The initialization of the clipboard is gtk.c, as well as the
compilation of gtk-clipboard.c are now conditional on this new
option to be set.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1150
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
Message-Id: <20221121135538.14625-1-cfontana@suse.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
meson.build
meson_options.txt
scripts/meson-buildoptions.sh
ui/gtk.c
ui/meson.build