wayland: Add getter for DnD origin surface
This private method will be used in later commits. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3821>
This commit is contained in:
parent
4bf02746e2
commit
a4ec154c8b
2 changed files with 8 additions and 0 deletions
|
@ -345,6 +345,12 @@ meta_wayland_drag_grab_get_device (MetaWaylandDragGrab *drag_grab,
|
|||
return drag_grab->device;
|
||||
}
|
||||
|
||||
MetaWaylandSurface *
|
||||
meta_wayland_drag_grab_get_origin (MetaWaylandDragGrab *drag_grab)
|
||||
{
|
||||
return drag_grab->drag_origin;
|
||||
}
|
||||
|
||||
static void
|
||||
data_source_update_user_dnd_action (MetaWaylandDataSource *source,
|
||||
ClutterModifierType modifiers)
|
||||
|
|
|
@ -98,3 +98,5 @@ MetaWaylandSeat * meta_wayland_drag_grab_get_seat (MetaWaylandDragGrab *drag_gra
|
|||
|
||||
ClutterInputDevice * meta_wayland_drag_grab_get_device (MetaWaylandDragGrab *drag_grab,
|
||||
ClutterEventSequence **sequence);
|
||||
|
||||
MetaWaylandSurface * meta_wayland_drag_grab_get_origin (MetaWaylandDragGrab *drag_grab);
|
||||
|
|
Loading…
Reference in a new issue