mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
backend: Don't pull generated headers (indirectly)
Use a typedef for MetaRemoteDesktop, so tests poking MetaBackend don't indirectly depend upon generated headers. This is arguably a code fix for a build system bug. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1470 Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1449 (or something...)
This commit is contained in:
parent
498248586a
commit
e0944b6097
@ -42,10 +42,6 @@
|
||||
#include "backends/meta-settings-private.h"
|
||||
#include "core/util-private.h"
|
||||
|
||||
#ifdef HAVE_REMOTE_DESKTOP
|
||||
#include "backends/meta-remote-desktop.h"
|
||||
#endif
|
||||
|
||||
#define DEFAULT_XKB_RULES_FILE "evdev"
|
||||
#define DEFAULT_XKB_MODEL "pc105+inet"
|
||||
|
||||
|
@ -59,4 +59,8 @@ typedef struct _MetaScreenCastStream MetaScreenCastStream;
|
||||
|
||||
typedef struct _MetaWaylandCompositor MetaWaylandCompositor;
|
||||
|
||||
#ifdef HAVE_REMOTE_DESKTOP
|
||||
typedef struct _MetaRemoteDesktop MetaRemoteDesktop;
|
||||
#endif
|
||||
|
||||
#endif /* META_BACKEND_TYPE_H */
|
||||
|
Loading…
Reference in New Issue
Block a user