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
This commit is contained in:
parent
942feadffd
commit
2c439dec75
@ -71,6 +71,19 @@ G_DEFINE_TYPE_WITH_CODE (ClutterStageX11,
|
|||||||
#define _NET_WM_STATE_ADD 1 /* add/set property */
|
#define _NET_WM_STATE_ADD 1 /* add/set property */
|
||||||
#define _NET_WM_STATE_TOGGLE 2 /* toggle 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
|
static void
|
||||||
send_wmspec_change_state (ClutterBackendX11 *backend_x11,
|
send_wmspec_change_state (ClutterBackendX11 *backend_x11,
|
||||||
Window window,
|
Window window,
|
||||||
|
@ -76,19 +76,6 @@ struct _ClutterStageX11Class
|
|||||||
ClutterStageCoglClass parent_class;
|
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;
|
GType _clutter_stage_x11_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
void _clutter_stage_x11_events_device_changed (ClutterStageX11 *stage_x11,
|
void _clutter_stage_x11_events_device_changed (ClutterStageX11 *stage_x11,
|
||||||
|
Loading…
Reference in New Issue
Block a user