1
0
Fork 0

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>
This commit is contained in:
Michael Webster 2022-11-07 16:49:35 -05:00 committed by Marge Bot
parent 559e6ff327
commit ec17d19c76

View file

@ -2937,9 +2937,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;