diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-05-19 07:39:40 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-05-21 09:42:44 +0200 |
commit | d11ebe2ca257769337118d3b0ff3f76ea4928018 (patch) | |
tree | cea1b41349fd55cc587af847863d6e43833c1a05 /ui/gtk.c | |
parent | 5f692f57843d33aa32dc58de76286a7a86ada4c1 (diff) | |
download | qemu-d11ebe2ca257769337118d3b0ff3f76ea4928018.zip qemu-d11ebe2ca257769337118d3b0ff3f76ea4928018.tar.gz qemu-d11ebe2ca257769337118d3b0ff3f76ea4928018.tar.bz2 |
ui/gtk: add clipboard support
This patch adds clipboard support to the qemu gtk ui.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20210519053940.1888907-1-kraxel@redhat.com
Message-Id: <20210519053940.1888907-10-kraxel@redhat.com>
Diffstat (limited to 'ui/gtk.c')
-rw-r--r-- | ui/gtk.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2267,6 +2267,7 @@ static void gtk_display_init(DisplayState *ds, DisplayOptions *opts) opts->u.gtk.grab_on_hover) { gtk_menu_item_activate(GTK_MENU_ITEM(s->grab_on_hover_item)); } + gd_clipboard_init(s); } static void early_gtk_display_init(DisplayOptions *opts) |