diff options
author | Michael Webster <miketwebster@gmail.com> | 2022-11-07 16:49:35 -0500 |
---|---|---|
committer | Robert Mader <robert.mader@collabora.com> | 2022-12-09 15:14:13 +0100 |
commit | 032f925e6ba4d897ddf865f319a95d06971ba809 (patch) | |
tree | 3d635cd3c58d59b31a8c54e7112f94dc5604fa45 | |
parent | 40507247467bd5e91e139abd98e1e001445c6a90 (diff) | |
download | mutter-032f925e6ba4d897ddf865f319a95d06971ba809.tar.gz |
tiling: Remove unnecessary update_edge_constraints().
Both meta_window_maximize and meta_window_tile use
meta_window_maximize_internal(), and edge constraints are already
recalculated and updated there.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2579>
(cherry picked from commit ec17d19c76fdb53e5b0a96d3783403c7517abc26)
-rw-r--r-- | src/core/window.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/window.c b/src/core/window.c index a03aafebe..956a77d0c 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -2940,9 +2940,6 @@ meta_window_tile (MetaWindow *window, meta_window_maximize_internal (window, directions, NULL); meta_display_update_tile_preview (window->display, FALSE); - /* Setup the edge constraints */ - update_edge_constraints (window); - if (!window->tile_match || window->tile_match != window->display->grab_window) { MetaRectangle old_frame_rect, old_buffer_rect; |