wayland: Set actions on drag

We should pass the actions to the newly created
drag in drag_begin.
This commit is contained in:
Matthias Clasen 2018-07-15 16:50:37 -04:00
parent 168523264c
commit 410d4bca83

View File

@ -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);