mirror of
https://github.com/vim/vim.git
synced 2025-10-16 07:24:23 -04:00
patch 9.1.0063: GTK code can be improved
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>
This commit is contained in:
committed by
Christian Brabandt
parent
e99f068878
commit
94ff09a093
@@ -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
|
||||
|
Reference in New Issue
Block a user