main: Move MetaX11DisplayPolicy to a new meta-private-enums.h

As with the compositor type enum, also have the X11 display policy enum,
as it's also effectively part of the context configuration. But as with
the compositor type, move it to a header file for enums only, and since
this is a private one, create a private variant meta-enums.h.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
This commit is contained in:
Jonas Ådahl
2021-03-02 10:21:20 +01:00
parent 68b376a944
commit 7d116bee0f
8 changed files with 38 additions and 8 deletions

View File

@ -5,7 +5,7 @@
#include <clutter/clutter.h>
#include "compositor/meta-plugin-manager.h"
#include "core/main-private.h"
#include "core/meta-context-private.h"
typedef struct {
gpointer dummy_field;