From 410d4bca8348c08325c29e803a5bd6f165644257 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 15 Jul 2018 16:50:37 -0400 Subject: [PATCH] wayland: Set actions on drag We should pass the actions to the newly created drag in drag_begin. --- gdk/wayland/gdkdrag-wayland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gdk/wayland/gdkdrag-wayland.c b/gdk/wayland/gdkdrag-wayland.c index 3d9a7a0e7d..6876bd1e95 100644 --- a/gdk/wayland/gdkdrag-wayland.c +++ b/gdk/wayland/gdkdrag-wayland.c @@ -372,9 +372,10 @@ _gdk_wayland_surface_drag_begin (GdkSurface *surface, seat = gdk_device_get_seat (device); drag_wayland = g_object_new (GDK_TYPE_WAYLAND_DRAG, + "surface", surface, "device", device, "content", content, - "surface", surface, + "actions", actions, NULL); drag = GDK_DRAG (drag_wayland);