diff --git a/src/meta/types.h b/src/meta/types.h index cbe2a9a3d..d994fb2d2 100644 --- a/src/meta/types.h +++ b/src/meta/types.h @@ -24,7 +24,6 @@ typedef struct _MetaContext MetaContext; typedef struct _MetaCompositor MetaCompositor; typedef struct _MetaDisplay MetaDisplay; typedef struct _MetaX11Display MetaX11Display; -typedef struct _MetaFrame MetaFrame; typedef struct _MetaWindow MetaWindow; typedef struct _MetaWorkspace MetaWorkspace; typedef struct _MetaLaters MetaLaters; diff --git a/src/x11/meta-x11-frame.h b/src/x11/meta-x11-frame.h index de1ce909b..e25c86032 100644 --- a/src/x11/meta-x11-frame.h +++ b/src/x11/meta-x11-frame.h @@ -25,7 +25,7 @@ #include "x11/meta-sync-counter.h" -struct _MetaFrame +typedef struct _MetaFrame { /* window we frame */ MetaWindow *window; @@ -51,7 +51,7 @@ struct _MetaFrame int bottom_height; guint borders_cached : 1; -}; +} MetaFrame; void meta_window_ensure_frame (MetaWindow *window); void meta_window_destroy_frame (MetaWindow *window); diff --git a/src/x11/window-x11.h b/src/x11/window-x11.h index c6cdf5c08..5fd8517b4 100644 --- a/src/x11/window-x11.h +++ b/src/x11/window-x11.h @@ -28,6 +28,7 @@ #include "meta/compositor.h" #include "meta/window.h" #include "x11/meta-sync-counter.h" +#include "x11/meta-x11-frame.h" G_BEGIN_DECLS