diff --git a/clutter/clutter/x11/clutter-stage-x11.c b/clutter/clutter/x11/clutter-stage-x11.c index b2313f31a..63b2e5b15 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 315939e95..0bf1295ca 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,