From 04c3bee803306758a270700ecf15a7015f406fcd Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 28 Apr 2021 22:12:11 +0300 Subject: [PATCH] Remove unused things in drm_backend.h --- src/plugins/platforms/drm/drm_backend.h | 17 ----------------- src/plugins/platforms/drm/egl_gbm_backend.cpp | 1 + 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/src/plugins/platforms/drm/drm_backend.h b/src/plugins/platforms/drm/drm_backend.h index 8d0612195a..6fd6d68a96 100644 --- a/src/plugins/platforms/drm/drm_backend.h +++ b/src/plugins/platforms/drm/drm_backend.h @@ -9,28 +9,15 @@ #ifndef KWIN_DRM_BACKEND_H #define KWIN_DRM_BACKEND_H #include "platform.h" -#include "input.h" -#include "drm_buffer.h" -#if HAVE_GBM -#include "drm_buffer_gbm.h" -#endif #include "drm_inputeventfilter.h" -#include "drm_pointer.h" -#include -#include #include #include #include -#include #include -struct gbm_bo; -struct gbm_device; -struct gbm_surface; - namespace KWin { @@ -39,10 +26,6 @@ class UdevMonitor; class UdevDevice; class DrmOutput; -class DrmPlane; -class DrmCrtc; -class DrmConnector; -class GbmSurface; class Cursor; class DrmGpu; diff --git a/src/plugins/platforms/drm/egl_gbm_backend.cpp b/src/plugins/platforms/drm/egl_gbm_backend.cpp index 0235ff43bb..d7ebddedfb 100644 --- a/src/plugins/platforms/drm/egl_gbm_backend.cpp +++ b/src/plugins/platforms/drm/egl_gbm_backend.cpp @@ -10,6 +10,7 @@ // kwin #include "composite.h" #include "drm_backend.h" +#include "drm_buffer_gbm.h" #include "drm_output.h" #include "gbm_surface.h" #include "logging.h"