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:
Michel Dänzer 2023-08-06 11:55:37 +02:00 committed by Marge Bot
parent 16e8bb34de
commit 09feed5d21
2 changed files with 0 additions and 11 deletions

View File

@ -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 * MetaWaylandDragGrab *
meta_wayland_data_device_get_current_grab (MetaWaylandDataDevice *data_device) meta_wayland_data_device_get_current_grab (MetaWaylandDataDevice *data_device)
{ {

View File

@ -60,9 +60,6 @@ MetaWaylandSeat * meta_wayland_data_device_get_seat (MetaWaylandDataDevice *data
void meta_wayland_data_device_set_keyboard_focus (MetaWaylandDataDevice *data_device); 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 * MetaWaylandDragGrab *
meta_wayland_data_device_get_current_grab (MetaWaylandDataDevice *data_device); meta_wayland_data_device_get_current_grab (MetaWaylandDataDevice *data_device);