mtk: Move meta_rectangle_transform to Mtk

Both MtkMonitorTransform and MtkRectangle are Mtk types, so we can push
this into Mtk and start using it in Clutter as well.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3930>
This commit is contained in:
Sebastian Wick
2024-08-07 22:46:36 +02:00
committed by Marge Bot
parent 89af55d8aa
commit dcaa57c2c8
7 changed files with 114 additions and 113 deletions

View File

@ -237,10 +237,3 @@ META_EXPORT_TEST
GList* meta_rectangle_find_nonintersected_monitor_edges (
const GList *monitor_rects,
const GSList *all_struts);
META_EXPORT_TEST
void meta_rectangle_transform (const MtkRectangle *rect,
MtkMonitorTransform transform,
int width,
int height,
MtkRectangle *dest);