diff options
author | lilydjwg <lilydjwg@gmail.com> | 2024-01-29 20:14:01 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-01-29 20:18:22 +0100 |
commit | 94ff09a0935bc78fd81e9c79f099d42c94e3c218 (patch) | |
tree | cc8063e1a81ade8eb1390142ce6babea6d9139b1 /src/clipboard.c | |
parent | e99f0688785c3d56b1ee45a28fa6ce02b850a33b (diff) |
patch 9.1.0063: GTK code can be improvedv9.1.0063
Problem: GTK code can be improved
Solution: Improve GTK code for initial Wayland support
(lilydjwg)
related: #9639
Signed-off-by: lilydjwg <lilydjwg@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/clipboard.c')
-rw-r--r-- | src/clipboard.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clipboard.c b/src/clipboard.c index d80699b059..8b9850e44e 100644 --- a/src/clipboard.c +++ b/src/clipboard.c @@ -1334,7 +1334,8 @@ did_set_clipboard(optset_T *args UNUSED) #ifdef FEAT_GUI_GTK if (gui.in_use) { - gui_gtk_set_selection_targets(); + gui_gtk_set_selection_targets((GdkAtom)GDK_SELECTION_PRIMARY); + gui_gtk_set_selection_targets((GdkAtom)clip_plus.gtk_sel_atom); gui_gtk_set_dnd_targets(); } #endif |