From 50855e76de13f2ca1361130493cc026b1ea50bba Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 23 Mar 2026 11:58:42 +0900 Subject: Remove use of TDE_VERSION Signed-off-by: Michele Calgaro --- superkaramba/src/karamba.cpp | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) (limited to 'superkaramba/src/karamba.cpp') diff --git a/superkaramba/src/karamba.cpp b/superkaramba/src/karamba.cpp index f4e3767..effafda 100644 --- a/superkaramba/src/karamba.cpp +++ b/superkaramba/src/karamba.cpp @@ -36,7 +36,6 @@ #include #include #include -#include #include #include @@ -762,12 +761,7 @@ bool karamba::parseConfig() // Matthew Kay: set window type to "dock" // (plays better with taskbar themes this way) KWin::setType(winId(), NET::Dock); - #if defined(TDE_MAKE_VERSION) - #if TDE_VERSION >= TDE_MAKE_VERSION(3,1,9) - //KDE 3.2 addition for the always on top issues - KWin::setState(winId(), NET::KeepBelow); - #endif - #endif + KWin::setState(winId(), NET::KeepBelow); } m_theme.close(); @@ -804,13 +798,7 @@ void karamba::start() void karamba::makeActive() { KWin::setType(winId(), NET::Normal); - - #if defined(TDE_MAKE_VERSION) - #if TDE_VERSION >= TDE_MAKE_VERSION(3,1,9) - //KDE 3.2 addition for the always on top issues - KWin::setState(winId(), NET::Modal); - #endif - #endif + KWin::setState(winId(), NET::Modal); } void karamba::makePassive() @@ -828,12 +816,7 @@ void karamba::makePassive() // Matthew Kay: set window type to "dock" (plays better with taskbar themes // this way) KWin::setType(winId(), NET::Dock); - #if defined(TDE_MAKE_VERSION) - #if TDE_VERSION >= TDE_MAKE_VERSION(3,1,9) - //KDE 3.2 addition for the always on top issues - KWin::setState(winId(), NET::KeepBelow); - #endif - #endif + KWin::setState(winId(), NET::KeepBelow); } void karamba::popupNotify(int) -- cgit v1.2.3