diff --git a/autotests/integration/pointer_input.cpp b/autotests/integration/pointer_input.cpp index 88398ff488..f5f2f0c3dc 100644 --- a/autotests/integration/pointer_input.cpp +++ b/autotests/integration/pointer_input.cpp @@ -17,13 +17,13 @@ #include "pointer_input.h" #include "screenedge.h" #include "screens.h" +#include "utils/xcursortheme.h" #include "virtualdesktops.h" #include "wayland/clientconnection.h" #include "wayland/seat_interface.h" #include "wayland_server.h" #include "window.h" #include "workspace.h" -#include "xcursortheme.h" #include #include diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7b35e6752c..268047156a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -158,7 +158,6 @@ target_sources(kwin PRIVATE x11eventfilter.cpp x11syncmanager.cpp x11window.cpp - xcursortheme.cpp xdgactivationv1.cpp xdgshellintegration.cpp xdgshellwindow.cpp diff --git a/src/pointer_input.h b/src/pointer_input.h index d4be6f5897..bf562d89d4 100644 --- a/src/pointer_input.h +++ b/src/pointer_input.h @@ -13,7 +13,7 @@ #include "cursor.h" #include "input.h" -#include "xcursortheme.h" +#include "utils/xcursortheme.h" #include #include diff --git a/src/utils/CMakeLists.txt b/src/utils/CMakeLists.txt index f333817dd2..32d1afcb8e 100644 --- a/src/utils/CMakeLists.txt +++ b/src/utils/CMakeLists.txt @@ -9,4 +9,5 @@ target_sources(kwin PRIVATE subsurfacemonitor.cpp udev.cpp xcbutils.cpp + xcursortheme.cpp ) diff --git a/src/xcursortheme.cpp b/src/utils/xcursortheme.cpp similarity index 100% rename from src/xcursortheme.cpp rename to src/utils/xcursortheme.cpp diff --git a/src/xcursortheme.h b/src/utils/xcursortheme.h similarity index 100% rename from src/xcursortheme.h rename to src/utils/xcursortheme.h