diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0bd7e665fa..1be1dde262 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -138,7 +138,6 @@ target_sources(kwin PRIVATE tabletmodemanager.cpp hide_cursor_spy.cpp touch_input.cpp - udev.cpp unmanaged.cpp useractions.cpp virtualdesktops.cpp diff --git a/src/backends/drm/drm_backend.cpp b/src/backends/drm/drm_backend.cpp index 767635fbb4..b97a80183b 100644 --- a/src/backends/drm/drm_backend.cpp +++ b/src/backends/drm/drm_backend.cpp @@ -31,7 +31,7 @@ #include "scene.h" #include "scene_qpainter_drm_backend.h" #include "session.h" -#include "udev.h" +#include "utils/udev.h" // KF5 #include #include diff --git a/src/backends/libinput/connection.cpp b/src/backends/libinput/connection.cpp index 96996fdb56..41b380e634 100644 --- a/src/backends/libinput/connection.cpp +++ b/src/backends/libinput/connection.cpp @@ -23,8 +23,8 @@ #include "input_event.h" #include "libinput_logging.h" #include "session.h" -#include "udev.h" #include "utils/realtime.h" +#include "utils/udev.h" #include #include diff --git a/src/backends/libinput/context.cpp b/src/backends/libinput/context.cpp index 998113a721..99fd78e3d6 100644 --- a/src/backends/libinput/context.cpp +++ b/src/backends/libinput/context.cpp @@ -13,7 +13,7 @@ #include "main.h" #include "platform.h" #include "session.h" -#include "udev.h" +#include "utils/udev.h" #include #include diff --git a/src/utils/CMakeLists.txt b/src/utils/CMakeLists.txt index aaebd35008..5cf290d66b 100644 --- a/src/utils/CMakeLists.txt +++ b/src/utils/CMakeLists.txt @@ -5,5 +5,6 @@ target_sources(kwin PRIVATE egl_context_attribute_builder.cpp realtime.cpp subsurfacemonitor.cpp + udev.cpp xcbutils.cpp ) diff --git a/src/udev.cpp b/src/utils/udev.cpp similarity index 100% rename from src/udev.cpp rename to src/utils/udev.cpp diff --git a/src/udev.h b/src/utils/udev.h similarity index 100% rename from src/udev.h rename to src/utils/udev.h