diff options
Diffstat (limited to 'superkaramba')
-rw-r--r-- | superkaramba/src/karamba.cpp | 12 | ||||
-rw-r--r-- | superkaramba/src/karambaapp.h | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/superkaramba/src/karamba.cpp b/superkaramba/src/karamba.cpp index a7bdfba..aac6a6e 100644 --- a/superkaramba/src/karamba.cpp +++ b/superkaramba/src/karamba.cpp @@ -762,8 +762,8 @@ bool karamba::parseConfig() // Matthew Kay: set window type to "dock" // (plays better with taskbar themes this way) KWin::setType(winId(), NET::Dock); - #if defined(KDE_MAKE_VERSION) - #if TDE_VERSION >= KDE_MAKE_VERSION(3,1,9) + #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 @@ -805,8 +805,8 @@ void karamba::makeActive() { KWin::setType(winId(), NET::Normal); - #if defined(KDE_MAKE_VERSION) - #if TDE_VERSION >= KDE_MAKE_VERSION(3,1,9) + #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 @@ -828,8 +828,8 @@ void karamba::makePassive() // Matthew Kay: set window type to "dock" (plays better with taskbar themes // this way) KWin::setType(winId(), NET::Dock); - #if defined(KDE_MAKE_VERSION) - #if TDE_VERSION >= KDE_MAKE_VERSION(3,1,9) + #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 diff --git a/superkaramba/src/karambaapp.h b/superkaramba/src/karambaapp.h index 7b5854a..2dff0a7 100644 --- a/superkaramba/src/karambaapp.h +++ b/superkaramba/src/karambaapp.h @@ -17,11 +17,11 @@ #undef KDE_3_2 #undef KDE_3_3 -#if defined(KDE_MAKE_VERSION) -#if TDE_VERSION >= KDE_MAKE_VERSION(3,2,0) +#if defined(TDE_MAKE_VERSION) +#if TDE_VERSION >= TDE_MAKE_VERSION(3,2,0) #define KDE_3_2 #endif -#if TDE_VERSION >= KDE_MAKE_VERSION(3,3,0) +#if TDE_VERSION >= TDE_MAKE_VERSION(3,3,0) #define KDE_3_3 #endif #endif |