From 243dd868b60f6b241f5f98709817c6433737386b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 3 Mar 2021 17:31:52 +0100 Subject: [PATCH] main: Move grab op macro to relevant file It was in main-private.h for some reason, but only used in display.c. Part-of: --- src/core/display.c | 2 ++ src/core/main-private.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/display.c b/src/core/display.c index dd393c0c2..6c7c6b26b 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -173,6 +173,8 @@ enum static guint display_signals [LAST_SIGNAL] = { 0 }; +#define META_GRAB_OP_GET_BASE_TYPE(op) (op & 0x00FF) + /* * The display we're managing. This is a singleton object. (Historically, * this was a list of displays, but there was never any way to add more diff --git a/src/core/main-private.h b/src/core/main-private.h index 1ed094d50..5b552b3cd 100644 --- a/src/core/main-private.h +++ b/src/core/main-private.h @@ -37,8 +37,6 @@ typedef enum _MetaX11DisplayPolicy META_X11_DISPLAY_POLICY_DISABLED, } MetaX11DisplayPolicy; -#define META_GRAB_OP_GET_BASE_TYPE(op) (op & 0x00FF) - META_EXPORT_TEST void meta_override_compositor_configuration (MetaCompositorType compositor_type, GType backend_gtype,