boxes: Add an alias for MetaRectangle

This is meant for compatibility purposes with the shell extensions
avoiding to break a bunch of them in the last minute and we would
drop it in the GNOME 46 release.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3128>
This commit is contained in:
Bilal Elmoussaoui 2023-08-25 16:00:02 +02:00
parent 640cbf339f
commit 788caf76aa

View File

@ -62,3 +62,9 @@ struct _MetaEdge
MetaSide side_type; MetaSide side_type;
MetaEdgeType edge_type; MetaEdgeType edge_type;
}; };
/*
* For GNOME Shell extensions compatibility purposes only.
* TODO: drop for GNOME 46
*/
typedef MtkRectangle MetaRectangle;