summaryrefslogtreecommitdiffstats
path: root/bab
diff options
context:
space:
mode:
Diffstat (limited to 'bab')
-rw-r--r--bab/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/bab/main.cpp b/bab/main.cpp
index a4a5682..3650888 100644
--- a/bab/main.cpp
+++ b/bab/main.cpp
@@ -40,9 +40,9 @@
#include <klibloader.h>
#include <tdelocale.h>
#include <kprocess.h>
-#if KDE_IS_VERSION(3,4,0)
+
#include <twin.h>
-#endif
+
#include <stdio.h>
#include <X11/Xlib.h>
#include <X11/extensions/shape.h>
@@ -76,10 +76,10 @@ int main(int argc, char **argv)
app.setMainWidget(mainBAB);
Corner leftCorner(Corner::left);
Corner rightCorner(Corner::right);
-#if KDE_IS_VERSION(3,4,0)
+
KWin::setShadowSize(leftCorner.winId(), 0);
KWin::setShadowSize(rightCorner.winId(), 0);
-#endif
+
if (!mainBAB->cornerCheck->isChecked())
{
leftCorner.hide();