From e469b247efb2621869c931663739d30a05fd04f5 Mon Sep 17 00:00:00 2001 From: Matin Lotfaliei Date: Mon, 29 Jul 2024 15:36:38 -0700 Subject: [PATCH] Add Q_ENUM for KWin::WindowType for KWin 5.27 --- src/Window.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Window.h b/src/Window.h index 92efd0c..d224691 100644 --- a/src/Window.h +++ b/src/Window.h @@ -62,6 +62,10 @@ namespace ShapeCorners { bool isIncluded; bool isExcluded; +#if QT_VERSION_MAJOR < 6 + Q_ENUM(KWin::WindowType); +#endif + /** * \brief Used only for its `palette()` function which holds the currently active highlight colors. */