From 2ffcc8a4535c6e05bc29a1be9dc202cc5b6775ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 23 Aug 2013 23:13:01 -0700 Subject: [PATCH] wayland: Set type for GtkSelectionData for incoming contents This is set from the incoming property type under X11. Under Wayland it will always be what we requested, so we can just set it to the target. --- gtk/gtkclipboard-wayland.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkclipboard-wayland.c b/gtk/gtkclipboard-wayland.c index 8f6012e193..ab63a0ccb7 100644 --- a/gtk/gtkclipboard-wayland.c +++ b/gtk/gtkclipboard-wayland.c @@ -247,6 +247,7 @@ _request_generic_cb (GdkDevice *device, selection_data.selection = GDK_SELECTION_CLIPBOARD; selection_data.target = closure->target; + selection_data.type = closure->target; selection_data.length = len; selection_data.data = (guchar *)data;