[mutter] monitor-manager: Don't include generated header in header



commit c61dc682a27daada122651d54c14cc2a5aa95e6a
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Fri Aug 5 13:00:04 2022 +0200

    monitor-manager: Don't include generated header in header
    
    This tends to result in build system race conditions.
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>

 src/backends/meta-backend.c                 | 1 +
 src/backends/meta-monitor-manager-private.h | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/backends/meta-backend.c b/src/backends/meta-backend.c
index 856b58e879..165a1fe4d3 100644
--- a/src/backends/meta-backend.c
+++ b/src/backends/meta-backend.c
@@ -71,6 +71,7 @@
 #include "meta/main.h"
 #include "meta/meta-backend.h"
 #include "meta/meta-context.h"
+#include "meta/meta-enum-types.h"
 #include "meta/util.h"
 
 #ifdef HAVE_PROFILER
diff --git a/src/backends/meta-monitor-manager-private.h b/src/backends/meta-monitor-manager-private.h
index e14ab207fa..f93f88cc87 100644
--- a/src/backends/meta-monitor-manager-private.h
+++ b/src/backends/meta-monitor-manager-private.h
@@ -38,7 +38,6 @@
 #include "backends/meta-viewport-info.h"
 #include "core/util-private.h"
 #include "meta/display.h"
-#include "meta/meta-enum-types.h"
 #include "meta/meta-monitor-manager.h"
 
 #define META_MONITOR_MANAGER_MIN_SCREEN_WIDTH 640


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]