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>
This commit is contained in:

committed by
Marge Bot

parent
f04d84de65
commit
c6d23f67f0
@ -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);
|
||||
|
Reference in New Issue
Block a user