Skip to content

Commit cc58982

Browse files
committed
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>
1 parent 87572f7 commit cc58982

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/core/window.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3502,9 +3502,6 @@ meta_window_tile (MetaWindow *window,
35023502
meta_window_maximize_internal (window, directions, maybe_saved_rect);
35033503
meta_display_update_tile_preview (window->display, FALSE);
35043504

3505-
/* Setup the edge constraints */
3506-
update_edge_constraints (window);
3507-
35083505
if ((!window->htile_match || window->htile_match != window->display->grab_window) &&
35093506
(!window->vtile_match || window->vtile_match != window->display->grab_window))
35103507
{

0 commit comments

Comments
 (0)