mutter: Replace cairo_rectangle_int_t with MtkRectangle

Note: the various helpers in boxes.c were not ported yet, see the next
commit. This was intentionally done to simplify the porting process

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3128>
This commit is contained in:
Bilal Elmoussaoui
2023-07-19 16:59:04 +02:00
parent c1703337e4
commit 918ae0f4d4
51 changed files with 194 additions and 191 deletions

View File

@ -35,6 +35,7 @@
#include "core/boxes-private.h"
#include "meta/meta-backend.h"
#include "meta/util.h"
#include "mtk/mtk.h"
G_DEFINE_INTERFACE (MetaHwCursorInhibitor, meta_hw_cursor_inhibitor,
G_TYPE_OBJECT)
@ -109,7 +110,7 @@ align_cursor_position (MetaCursorRenderer *renderer,
meta_cursor_renderer_get_instance_private (renderer);
ClutterActor *stage = meta_backend_get_stage (priv->backend);
ClutterStageView *view;
cairo_rectangle_int_t view_layout;
MtkRectangle view_layout;
float view_scale;
view = clutter_stage_get_view_at (CLUTTER_STAGE (stage),