1
0
Fork 0

x11: Don't expose MetaFrame type

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3776>
This commit is contained in:
Bilal Elmoussaoui 2024-05-28 11:01:44 +02:00
parent 6ee7c2da7c
commit 50058b79d1
3 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,6 @@ typedef struct _MetaContext MetaContext;
typedef struct _MetaCompositor MetaCompositor; typedef struct _MetaCompositor MetaCompositor;
typedef struct _MetaDisplay MetaDisplay; typedef struct _MetaDisplay MetaDisplay;
typedef struct _MetaX11Display MetaX11Display; typedef struct _MetaX11Display MetaX11Display;
typedef struct _MetaFrame MetaFrame;
typedef struct _MetaWindow MetaWindow; typedef struct _MetaWindow MetaWindow;
typedef struct _MetaWorkspace MetaWorkspace; typedef struct _MetaWorkspace MetaWorkspace;
typedef struct _MetaLaters MetaLaters; typedef struct _MetaLaters MetaLaters;

View file

@ -25,7 +25,7 @@
#include "x11/meta-sync-counter.h" #include "x11/meta-sync-counter.h"
struct _MetaFrame typedef struct _MetaFrame
{ {
/* window we frame */ /* window we frame */
MetaWindow *window; MetaWindow *window;
@ -51,7 +51,7 @@ struct _MetaFrame
int bottom_height; int bottom_height;
guint borders_cached : 1; guint borders_cached : 1;
}; } MetaFrame;
void meta_window_ensure_frame (MetaWindow *window); void meta_window_ensure_frame (MetaWindow *window);
void meta_window_destroy_frame (MetaWindow *window); void meta_window_destroy_frame (MetaWindow *window);

View file

@ -28,6 +28,7 @@
#include "meta/compositor.h" #include "meta/compositor.h"
#include "meta/window.h" #include "meta/window.h"
#include "x11/meta-sync-counter.h" #include "x11/meta-sync-counter.h"
#include "x11/meta-x11-frame.h"
G_BEGIN_DECLS G_BEGIN_DECLS