window: Stop caching frame_bounds

That was only there to force updating MetaFrame's bounds
but that is something that is already updated in
MetaWindowX11.move_resize_internal. So just drop all of that

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3254>
This commit is contained in:
Bilal Elmoussaoui
2023-12-05 23:05:26 +01:00
committed by Marge Bot
parent d1b04ffb55
commit 0f19c6f5b6
6 changed files with 8 additions and 31 deletions

View File

@ -3994,17 +3994,6 @@ meta_window_move_resize_internal (MetaWindow *window,
meta_window_update_monitor (window, update_monitor_flags);
}
#ifdef HAVE_X11_CLIENT
if (window->client_type == META_WINDOW_CLIENT_TYPE_X11)
{
MetaWindowX11 *window_x11 = META_WINDOW_X11 (window);
MetaWindowX11Private *priv = meta_window_x11_get_private (window_x11);
if ((result & META_MOVE_RESIZE_RESULT_FRAME_SHAPE_CHANGED) && priv->frame_bounds)
g_clear_pointer (&priv->frame_bounds, mtk_region_unref);
}
#endif
meta_window_foreach_transient (window, maybe_move_attached_window, NULL);
meta_stack_update_window_tile_matches (window->display->stack,