meta: Move private defines to a private header
These defines are unused outside of mutter, and actually not desirable to export. Move them to a private header. https://gitlab.gnome.org/GNOME/mutter/merge_requests/859
This commit is contained in:

committed by
Jonas Ådahl

parent
c2d03bf73e
commit
97010ac64d
@ -37,6 +37,14 @@ typedef enum _MetaDisplayPolicy
|
||||
META_DISPLAY_POLICY_DISABLED,
|
||||
} MetaDisplayPolicy;
|
||||
|
||||
#define META_POINT_IN_RECT(xcoord, ycoord, rect) \
|
||||
((xcoord) >= (rect).x && \
|
||||
(xcoord) < ((rect).x + (rect).width) && \
|
||||
(ycoord) >= (rect).y && \
|
||||
(ycoord) < ((rect).y + (rect).height))
|
||||
|
||||
#define META_GRAB_OP_GET_BASE_TYPE(op) (op & 0x00FF)
|
||||
|
||||
META_EXPORT_TEST
|
||||
void meta_override_compositor_configuration (MetaCompositorType compositor_type,
|
||||
GType backend_gtype);
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include "backends/meta-logical-monitor.h"
|
||||
#include "cogl/cogl-trace.h"
|
||||
#include "core/frame.h"
|
||||
#include "core/main-private.h"
|
||||
#include "core/meta-workspace-manager-private.h"
|
||||
#include "core/window-private.h"
|
||||
#include "meta/group.h"
|
||||
|
Reference in New Issue
Block a user