forked from AuroraMiddleware/gtk
wayland: Set actions on drag
We should pass the actions to the newly created drag in drag_begin.
This commit is contained in:
parent
168523264c
commit
410d4bca83
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user