window-wayland: Remove unused API

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2873>
This commit is contained in:
Jonas Dreßler 2023-02-21 14:08:20 +01:00 committed by Marge Bot
parent f68b1ff030
commit 0dd170264d
2 changed files with 0 additions and 24 deletions

View File

@ -1242,25 +1242,6 @@ meta_window_wayland_finish_move_resize (MetaWindow *window,
meta_window_move_resize_internal (window, flags, gravity, rect); meta_window_move_resize_internal (window, flags, gravity, rect);
} }
void
meta_window_wayland_place_relative_to (MetaWindow *window,
MetaWindow *other,
int x,
int y)
{
int geometry_scale;
/* If there is no monitor, we can't position the window reliably. */
if (!other->monitor)
return;
geometry_scale = meta_window_wayland_get_geometry_scale (other);
meta_window_move_frame (window, FALSE,
other->buffer_rect.x + (x * geometry_scale),
other->buffer_rect.y + (y * geometry_scale));
window->placed = TRUE;
}
void void
meta_window_place_with_placement_rule (MetaWindow *window, meta_window_place_with_placement_rule (MetaWindow *window,
MetaPlacementRule *placement_rule) MetaPlacementRule *placement_rule)

View File

@ -46,11 +46,6 @@ void meta_window_wayland_finish_move_resize (MetaWindow *window,
int meta_window_wayland_get_geometry_scale (MetaWindow *window); int meta_window_wayland_get_geometry_scale (MetaWindow *window);
void meta_window_wayland_place_relative_to (MetaWindow *window,
MetaWindow *other,
int x,
int y);
void meta_window_place_with_placement_rule (MetaWindow *window, void meta_window_place_with_placement_rule (MetaWindow *window,
MetaPlacementRule *placement_rule); MetaPlacementRule *placement_rule);