diff --git a/client.cpp b/client.cpp
index d2fc36817b..2f9dbd3c72 100644
--- a/client.cpp
+++ b/client.cpp
@@ -77,6 +77,12 @@ const long ClientWinMask = XCB_EVENT_MASK_KEY_PRESS | XCB_EVENT_MASK_KEY_RELEASE
XCB_EVENT_MASK_STRUCTURE_NOTIFY |
XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT;
+// window types that are supported as normal windows (i.e. KWin actually manages them)
+const NET::WindowTypes SUPPORTED_MANAGED_WINDOW_TYPES_MASK = NET::NormalMask | NET::DesktopMask | NET::DockMask
+ | NET::ToolbarMask | NET::MenuMask | NET::DialogMask /*| NET::OverrideMask*/ | NET::TopMenuMask
+ | NET::UtilityMask | NET::SplashMask | NET::NotificationMask | NET::OnScreenDisplayMask
+ | NET::CriticalNotificationMask;
+
// Creating a client:
// - only by calling Workspace::createClient()
// - it creates a new client and calls manage() for it
diff --git a/unmanaged.cpp b/unmanaged.cpp
index 1e5b6231f9..09a8526dcf 100644
--- a/unmanaged.cpp
+++ b/unmanaged.cpp
@@ -35,6 +35,13 @@ along with this program. If not, see .
namespace KWin
{
+// window types that are supported as unmanaged (mainly for compositing)
+const NET::WindowTypes SUPPORTED_UNMANAGED_WINDOW_TYPES_MASK = NET::NormalMask | NET::DesktopMask | NET::DockMask
+ | NET::ToolbarMask | NET::MenuMask | NET::DialogMask /*| NET::OverrideMask*/ | NET::TopMenuMask
+ | NET::UtilityMask | NET::SplashMask | NET::DropdownMenuMask | NET::PopupMenuMask
+ | NET::TooltipMask | NET::NotificationMask | NET::ComboBoxMask | NET::DNDIconMask | NET::OnScreenDisplayMask
+ | NET::CriticalNotificationMask;
+
Unmanaged::Unmanaged()
: Toplevel()
{
diff --git a/utils.h b/utils.h
index 53ba8d610b..6c4b339d16 100644
--- a/utils.h
+++ b/utils.h
@@ -27,8 +27,6 @@ along with this program. If not, see .
#include
// kwin
#include
-// KDE
-#include
// Qt
#include
#include
@@ -43,18 +41,6 @@ Q_DECLARE_LOGGING_CATEGORY(KWIN_VIRTUALKEYBOARD)
namespace KWin
{
-// window types that are supported as normal windows (i.e. KWin actually manages them)
-const NET::WindowTypes SUPPORTED_MANAGED_WINDOW_TYPES_MASK = NET::NormalMask | NET::DesktopMask | NET::DockMask
- | NET::ToolbarMask | NET::MenuMask | NET::DialogMask /*| NET::OverrideMask*/ | NET::TopMenuMask
- | NET::UtilityMask | NET::SplashMask | NET::NotificationMask | NET::OnScreenDisplayMask
- | NET::CriticalNotificationMask;
-// window types that are supported as unmanaged (mainly for compositing)
-const NET::WindowTypes SUPPORTED_UNMANAGED_WINDOW_TYPES_MASK = NET::NormalMask | NET::DesktopMask | NET::DockMask
- | NET::ToolbarMask | NET::MenuMask | NET::DialogMask /*| NET::OverrideMask*/ | NET::TopMenuMask
- | NET::UtilityMask | NET::SplashMask | NET::DropdownMenuMask | NET::PopupMenuMask
- | NET::TooltipMask | NET::NotificationMask | NET::ComboBoxMask | NET::DNDIconMask | NET::OnScreenDisplayMask
- | NET::CriticalNotificationMask;
-
const QPoint invalidPoint(INT_MIN, INT_MIN);
class Toplevel;