Commit 8e8951df authored by Kristian Høgsberg's avatar Kristian Høgsberg

wayland: Only set wayland selection for GDK_SELECTION_CLIPBOARD

Wayland only has one selection, which corresponds to GDK_SELECTION_CLIPBOARD.
parent 771dbe05
......@@ -148,6 +148,9 @@ gtk_clipboard_wayland_set_contents (GtkClipboard *gtkclipboard,
gchar **mimetypes;
SetContentClosure *closure, *last_closure;
if (gtkclipboard->selection != GDK_SELECTION_CLIPBOARD)
return;
last_closure = clipboard->last_closure;
if (!last_closure ||
(!last_closure->have_owner && have_owner) ||
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment