window-wayland: Remove unused API
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2873>
This commit is contained in:
parent
f68b1ff030
commit
0dd170264d
@ -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)
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user