mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
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