From 9365a8e140a3c91f75c64c20cec75eedddaf820e Mon Sep 17 00:00:00 2001 From: Tarek Ismail Date: Tue, 12 Nov 2024 10:05:16 +0200 Subject: [PATCH] Fix includes to compile on CI --- examples/miral-custom-decorations/CMakeLists.txt | 1 + examples/miral-custom-decorations/input.cpp | 4 ++-- .../user_decoration_example.cpp | 2 +- .../user_decoration_manager_example.cpp | 2 +- examples/miral-custom-decorations/window.h | 11 +++++------ 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/miral-custom-decorations/CMakeLists.txt b/examples/miral-custom-decorations/CMakeLists.txt index 20ec76d838..a37c3675f8 100644 --- a/examples/miral-custom-decorations/CMakeLists.txt +++ b/examples/miral-custom-decorations/CMakeLists.txt @@ -10,6 +10,7 @@ include_directories( ${PROJECT_SOURCE_DIR}/include/miral ${PROJECT_SOURCE_DIR}/src/include/server ${PROJECT_SOURCE_DIR}/include/platform + ${PROJECT_SOURCE_DIR}/include/wayland ) mir_add_wrapped_executable(miral-custom-decorations diff --git a/examples/miral-custom-decorations/input.cpp b/examples/miral-custom-decorations/input.cpp index 8a7771cf38..a1f7385f46 100644 --- a/examples/miral-custom-decorations/input.cpp +++ b/examples/miral-custom-decorations/input.cpp @@ -22,8 +22,8 @@ #include "threadsafe_access.h" #include "window.h" -#include "mircommon/mir_toolkit/events/event.h" -#include "mircommon/mir_toolkit/cursors.h" +#include "mir_toolkit/event.h" +#include "mir_toolkit/cursors.h" #include diff --git a/examples/miral-custom-decorations/user_decoration_example.cpp b/examples/miral-custom-decorations/user_decoration_example.cpp index b49d1499c9..5bca5a5c5c 100644 --- a/examples/miral-custom-decorations/user_decoration_example.cpp +++ b/examples/miral-custom-decorations/user_decoration_example.cpp @@ -28,7 +28,7 @@ #include "mir/graphics/buffer_properties.h" #include "mir/compositor/buffer_stream.h" #include "mir/input/cursor_images.h" -#include "mirwayland/mir/wayland/weak.h" +#include "mir/wayland/weak.h" namespace mc = mir::compositor; namespace mg = mir::graphics; diff --git a/examples/miral-custom-decorations/user_decoration_manager_example.cpp b/examples/miral-custom-decorations/user_decoration_manager_example.cpp index 4d82e0ec08..333d0df85e 100644 --- a/examples/miral-custom-decorations/user_decoration_manager_example.cpp +++ b/examples/miral-custom-decorations/user_decoration_manager_example.cpp @@ -23,7 +23,7 @@ #include #include /* #include */ -#include "mirserver-internal/mir/observer_registrar.h" +#include "mir/observer_registrar.h" #include diff --git a/examples/miral-custom-decorations/window.h b/examples/miral-custom-decorations/window.h index 94918aba33..aa8cc9e42f 100644 --- a/examples/miral-custom-decorations/window.h +++ b/examples/miral-custom-decorations/window.h @@ -17,12 +17,11 @@ #ifndef MIRAL_CUSTOM_DECORATIONS_WINDOW_H #define MIRAL_CUSTOM_DECORATIONS_WINDOW_H -#include "mircore/mir/geometry/forward.h" -#include "mircore/mir/geometry/dimensions.h" -#include "mircore/mir/geometry/size.h" -#include "mircore/mir/geometry/point.h" -#include "mircore/mir/geometry/displacement.h" -#include "mircore/mir_toolkit/common.h" +#include "mir/geometry/forward.h" +#include "mir/geometry/size.h" +#include "mir/geometry/point.h" +#include "mir/geometry/displacement.h" +#include "mir_toolkit/common.h" #include "threadsafe_access.h" #include