mtk: Move MetaMonitorTransform to Mtk
This makes it possible to use MtkMonitorTransform in Clutter which will be used to track the transform in ClutterStageView. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3930>
This commit is contained in:

committed by
Marge Bot

parent
54b2abfe1b
commit
89af55d8aa
@ -27,6 +27,7 @@
|
||||
#include "core/util-private.h"
|
||||
#include "meta/boxes.h"
|
||||
#include "meta/common.h"
|
||||
#include "mtk/mtk.h"
|
||||
|
||||
#define BOX_LEFT(box) ((box).x) /* Leftmost pixel of rect */
|
||||
#define BOX_RIGHT(box) ((box).x + (box).width) /* One pixel past right */
|
||||
@ -238,8 +239,8 @@ GList* meta_rectangle_find_nonintersected_monitor_edges (
|
||||
const GSList *all_struts);
|
||||
|
||||
META_EXPORT_TEST
|
||||
void meta_rectangle_transform (const MtkRectangle *rect,
|
||||
MetaMonitorTransform transform,
|
||||
int width,
|
||||
int height,
|
||||
MtkRectangle *dest);
|
||||
void meta_rectangle_transform (const MtkRectangle *rect,
|
||||
MtkMonitorTransform transform,
|
||||
int width,
|
||||
int height,
|
||||
MtkRectangle *dest);
|
||||
|
Reference in New Issue
Block a user