[mutter] ClutterStageX11: Move macro to .c file
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] ClutterStageX11: Move macro to .c file
- Date: Wed, 20 Jul 2016 06:27:18 +0000 (UTC)
commit 2c439dec7530a696ebdded4a8237dd6b0c794d62
Author: Jonas Ådahl <jadahl gmail com>
Date: Sun May 15 11:52:21 2016 +0800
ClutterStageX11: Move macro to .c file
It was only used there, no need to expose it elsewhere.
https://bugzilla.gnome.org/show_bug.cgi?id=768976
clutter/clutter/x11/clutter-stage-x11.c | 13 +++++++++++++
clutter/clutter/x11/clutter-stage-x11.h | 13 -------------
2 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/clutter/clutter/x11/clutter-stage-x11.c b/clutter/clutter/x11/clutter-stage-x11.c
index b2313f3..63b2e5b 100644
--- a/clutter/clutter/x11/clutter-stage-x11.c
+++ b/clutter/clutter/x11/clutter-stage-x11.c
@@ -71,6 +71,19 @@ G_DEFINE_TYPE_WITH_CODE (ClutterStageX11,
#define _NET_WM_STATE_ADD 1 /* add/set property */
#define _NET_WM_STATE_TOGGLE 2 /* toggle property */
+#define CLUTTER_STAGE_X11_EVENT_MASK \
+ StructureNotifyMask | \
+ FocusChangeMask | \
+ ExposureMask | \
+ PropertyChangeMask | \
+ EnterWindowMask | \
+ LeaveWindowMask | \
+ KeyPressMask | \
+ KeyReleaseMask | \
+ ButtonPressMask | \
+ ButtonReleaseMask | \
+ PointerMotionMask
+
static void
send_wmspec_change_state (ClutterBackendX11 *backend_x11,
Window window,
diff --git a/clutter/clutter/x11/clutter-stage-x11.h b/clutter/clutter/x11/clutter-stage-x11.h
index 315939e..0bf1295 100644
--- a/clutter/clutter/x11/clutter-stage-x11.h
+++ b/clutter/clutter/x11/clutter-stage-x11.h
@@ -76,19 +76,6 @@ struct _ClutterStageX11Class
ClutterStageCoglClass parent_class;
};
-#define CLUTTER_STAGE_X11_EVENT_MASK \
- StructureNotifyMask | \
- FocusChangeMask | \
- ExposureMask | \
- PropertyChangeMask | \
- EnterWindowMask | \
- LeaveWindowMask | \
- KeyPressMask | \
- KeyReleaseMask | \
- ButtonPressMask | \
- ButtonReleaseMask | \
- PointerMotionMask
-
GType _clutter_stage_x11_get_type (void) G_GNUC_CONST;
void _clutter_stage_x11_events_device_changed (ClutterStageX11 *stage_x11,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]