mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 21:02:14 +00:00
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:
parent
559e6ff327
commit
ec17d19c76
@ -2937,9 +2937,6 @@ meta_window_tile (MetaWindow *window,
|
|||||||
meta_window_maximize_internal (window, directions, NULL);
|
meta_window_maximize_internal (window, directions, NULL);
|
||||||
meta_display_update_tile_preview (window->display, FALSE);
|
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)
|
if (!window->tile_match || window->tile_match != window->display->grab_window)
|
||||||
{
|
{
|
||||||
MetaRectangle old_frame_rect, old_buffer_rect;
|
MetaRectangle old_frame_rect, old_buffer_rect;
|
||||||
|
Loading…
Reference in New Issue
Block a user