Remove unused meta_wayland_data_device_is_dnd_surface
Unused since 6ec7fa2cbd
("wayland: Use surface role when special
casing surface commits").
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3154>
This commit is contained in:
parent
16e8bb34de
commit
09feed5d21
@ -1205,14 +1205,6 @@ meta_wayland_data_device_set_keyboard_focus (MetaWaylandDataDevice *data_device)
|
||||
}
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_wayland_data_device_is_dnd_surface (MetaWaylandDataDevice *data_device,
|
||||
MetaWaylandSurface *surface)
|
||||
{
|
||||
return data_device->current_grab &&
|
||||
data_device->current_grab->drag_surface == surface;
|
||||
}
|
||||
|
||||
MetaWaylandDragGrab *
|
||||
meta_wayland_data_device_get_current_grab (MetaWaylandDataDevice *data_device)
|
||||
{
|
||||
|
@ -60,9 +60,6 @@ MetaWaylandSeat * meta_wayland_data_device_get_seat (MetaWaylandDataDevice *data
|
||||
|
||||
void meta_wayland_data_device_set_keyboard_focus (MetaWaylandDataDevice *data_device);
|
||||
|
||||
gboolean meta_wayland_data_device_is_dnd_surface (MetaWaylandDataDevice *data_device,
|
||||
MetaWaylandSurface *surface);
|
||||
|
||||
MetaWaylandDragGrab *
|
||||
meta_wayland_data_device_get_current_grab (MetaWaylandDataDevice *data_device);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user