diff options
author | Jonas Dreßler <verdre@v0yd.nl> | 2023-02-21 14:08:20 +0100 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2023-03-01 09:48:14 +0000 |
commit | 0dd170264db53d5a72df383a7b29ee4d592c581d (patch) | |
tree | c65896d7ededf4389d2567157c2cca6d2903fe5b /src | |
parent | f68b1ff030791e0c09043fff2cb1f6ee44923576 (diff) | |
download | mutter-0dd170264db53d5a72df383a7b29ee4d592c581d.tar.gz |
window-wayland: Remove unused API
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2873>
Diffstat (limited to 'src')
-rw-r--r-- | src/wayland/meta-window-wayland.c | 19 | ||||
-rw-r--r-- | src/wayland/meta-window-wayland.h | 5 |
2 files changed, 0 insertions, 24 deletions
diff --git a/src/wayland/meta-window-wayland.c b/src/wayland/meta-window-wayland.c index fb907b2f9..cc655d10d 100644 --- a/src/wayland/meta-window-wayland.c +++ b/src/wayland/meta-window-wayland.c @@ -1243,25 +1243,6 @@ meta_window_wayland_finish_move_resize (MetaWindow *window, } 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 meta_window_place_with_placement_rule (MetaWindow *window, MetaPlacementRule *placement_rule) { diff --git a/src/wayland/meta-window-wayland.h b/src/wayland/meta-window-wayland.h index e781065f4..5fd841d39 100644 --- a/src/wayland/meta-window-wayland.h +++ b/src/wayland/meta-window-wayland.h @@ -46,11 +46,6 @@ void meta_window_wayland_finish_move_resize (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, MetaPlacementRule *placement_rule); |