mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 15:14:17 +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);
|
seat = gdk_device_get_seat (device);
|
||||||
|
|
||||||
drag_wayland = g_object_new (GDK_TYPE_WAYLAND_DRAG,
|
drag_wayland = g_object_new (GDK_TYPE_WAYLAND_DRAG,
|
||||||
|
"surface", surface,
|
||||||
"device", device,
|
"device", device,
|
||||||
"content", content,
|
"content", content,
|
||||||
"surface", surface,
|
"actions", actions,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
drag = GDK_DRAG (drag_wayland);
|
drag = GDK_DRAG (drag_wayland);
|
||||||
|
Loading…
Reference in New Issue
Block a user