[mutter/wip/carlosg/input-in-backends: 3/6] backends: Move nested stage to src/backends/x11/nested



commit e275989282227061fc8a075b67582f0bb6781b91
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Mar 29 21:18:07 2019 +0100

    backends: Move nested stage to src/backends/x11/nested
    
    We now have a MetaStageX11, so it's extra confusing to have both in
    the same directory.

 src/backends/x11/meta-clutter-backend-x11.c           | 2 +-
 src/backends/x11/{ => nested}/meta-stage-x11-nested.c | 2 +-
 src/backends/x11/{ => nested}/meta-stage-x11-nested.h | 2 +-
 src/meson.build                                       | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/backends/x11/meta-clutter-backend-x11.c b/src/backends/x11/meta-clutter-backend-x11.c
index bdb604717..d88cd7468 100644
--- a/src/backends/x11/meta-clutter-backend-x11.c
+++ b/src/backends/x11/meta-clutter-backend-x11.c
@@ -31,7 +31,7 @@
 #include "backends/x11/meta-clutter-backend-x11.h"
 #include "backends/x11/meta-device-manager-x11.h"
 #include "backends/x11/meta-keymap-x11.h"
-#include "backends/x11/meta-stage-x11-nested.h"
+#include "backends/x11/nested/meta-stage-x11-nested.h"
 #include "clutter/clutter-mutter.h"
 #include "clutter/clutter.h"
 #include "core/bell.h"
diff --git a/src/backends/x11/meta-stage-x11-nested.c b/src/backends/x11/nested/meta-stage-x11-nested.c
similarity index 99%
rename from src/backends/x11/meta-stage-x11-nested.c
rename to src/backends/x11/nested/meta-stage-x11-nested.c
index f6dc5dbcb..73b8f2854 100644
--- a/src/backends/x11/meta-stage-x11-nested.c
+++ b/src/backends/x11/nested/meta-stage-x11-nested.c
@@ -24,7 +24,7 @@
 
 #include "config.h"
 
-#include "backends/x11/meta-stage-x11-nested.h"
+#include "backends/x11/nested/meta-stage-x11-nested.h"
 
 #include "backends/meta-backend-private.h"
 #include "backends/meta-crtc.h"
diff --git a/src/backends/x11/meta-stage-x11-nested.h b/src/backends/x11/nested/meta-stage-x11-nested.h
similarity index 96%
rename from src/backends/x11/meta-stage-x11-nested.h
rename to src/backends/x11/nested/meta-stage-x11-nested.h
index b605e07e2..76678465b 100644
--- a/src/backends/x11/meta-stage-x11-nested.h
+++ b/src/backends/x11/nested/meta-stage-x11-nested.h
@@ -26,7 +26,7 @@
 #define META_STAGE_X11_NESTED_H
 
 #include "clutter/clutter-mutter.h"
-#include "meta-stage-x11.h"
+#include "backends/x11/meta-stage-x11.h"
 
 #define META_TYPE_STAGE_X11_NESTED (meta_stage_x11_nested_get_type ())
 G_DECLARE_FINAL_TYPE (MetaStageX11Nested, meta_stage_x11_nested,
diff --git a/src/meson.build b/src/meson.build
index d190c795c..cdc8cf36c 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -263,8 +263,6 @@ mutter_sources = [
   'backends/x11/meta-renderer-x11.h',
   'backends/x11/meta-stage-x11.c',
   'backends/x11/meta-stage-x11.h',
-  'backends/x11/meta-stage-x11-nested.c',
-  'backends/x11/meta-stage-x11-nested.h',
   'backends/x11/meta-virtual-input-device-x11.c',
   'backends/x11/meta-virtual-input-device-x11.h',
   'backends/x11/meta-xkb-a11y-x11.c',
@@ -273,6 +271,8 @@ mutter_sources = [
   'backends/x11/nested/meta-backend-x11-nested.h',
   'backends/x11/nested/meta-cursor-renderer-x11-nested.c',
   'backends/x11/nested/meta-cursor-renderer-x11-nested.h',
+  'backends/x11/nested/meta-stage-x11-nested.c',
+  'backends/x11/nested/meta-stage-x11-nested.h',
   'backends/x11/nested/meta-renderer-x11-nested.c',
   'backends/x11/nested/meta-renderer-x11-nested.h',
   'compositor/clutter-utils.c',


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