stage/x11: Clean up ClutterStageX11 struct
Use the right parent instance and class structure; the X11 stage implementation hasn't been a ClutterGroup in a long, long time.
This commit is contained in:
parent
24c311466c
commit
48f2cb1f09
@ -48,17 +48,12 @@ typedef enum
|
|||||||
|
|
||||||
struct _ClutterStageX11
|
struct _ClutterStageX11
|
||||||
{
|
{
|
||||||
ClutterGroup parent_instance;
|
GObject parent_instance;
|
||||||
|
|
||||||
guint is_foreign_xwin : 1;
|
|
||||||
guint fullscreening : 1;
|
|
||||||
guint is_cursor_visible : 1;
|
|
||||||
guint viewport_initialized : 1;
|
|
||||||
guint accept_focus : 1;
|
|
||||||
|
|
||||||
Window xwin;
|
Window xwin;
|
||||||
gint xwin_width;
|
gint xwin_width;
|
||||||
gint xwin_height; /* FIXME target_width / height */
|
gint xwin_height; /* FIXME target_width / height */
|
||||||
|
|
||||||
gchar *title;
|
gchar *title;
|
||||||
|
|
||||||
guint clipped_redraws_cool_off;
|
guint clipped_redraws_cool_off;
|
||||||
@ -70,11 +65,17 @@ struct _ClutterStageX11
|
|||||||
/* backpointers */
|
/* backpointers */
|
||||||
ClutterStage *wrapper;
|
ClutterStage *wrapper;
|
||||||
ClutterBackendX11 *backend;
|
ClutterBackendX11 *backend;
|
||||||
|
|
||||||
|
guint is_foreign_xwin : 1;
|
||||||
|
guint fullscreening : 1;
|
||||||
|
guint is_cursor_visible : 1;
|
||||||
|
guint viewport_initialized : 1;
|
||||||
|
guint accept_focus : 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _ClutterStageX11Class
|
struct _ClutterStageX11Class
|
||||||
{
|
{
|
||||||
ClutterGroupClass parent_class;
|
GObjectClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
GType _clutter_stage_x11_get_type (void) G_GNUC_CONST;
|
GType _clutter_stage_x11_get_type (void) G_GNUC_CONST;
|
||||||
|
Loading…
Reference in New Issue
Block a user