summaryrefslogtreecommitdiff
path: root/src/core/window.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2022-10-29 00:29:45 +0200
committerMarge Bot <marge-bot@gnome.org>2023-01-30 10:56:29 +0000
commitc6d23f67f00c7caff80530c3318440e4e4b09248 (patch)
treec503b932f2770bd5d74b86ed6516d486e5388147 /src/core/window.c
parentf04d84de65d77cd03cdfa8dc1c9f22f5d760c518 (diff)
downloadmutter-c6d23f67f00c7caff80530c3318440e4e4b09248.tar.gz
compositor: Move tiling preview management to MetaWindowDrag
And release MetaDisplay from handling this management. Window tiling previews are only triggered from window drags, and are implicitly tied to them. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2683>
Diffstat (limited to 'src/core/window.c')
-rw-r--r--src/core/window.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/window.c b/src/core/window.c
index a167953a4..f04e6c8e5 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -2946,7 +2946,6 @@ meta_window_tile (MetaWindow *window,
directions = META_MAXIMIZE_VERTICAL;
meta_window_maximize_internal (window, directions, NULL);
- meta_display_update_tile_preview (window->display, FALSE);
window_drag =
meta_compositor_get_current_window_drag (window->display->compositor);