summaryrefslogtreecommitdiffstats
path: root/kcontrol/screensaver/testwin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/screensaver/testwin.cpp')
-rw-r--r--kcontrol/screensaver/testwin.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/kcontrol/screensaver/testwin.cpp b/kcontrol/screensaver/testwin.cpp
new file mode 100644
index 000000000..dd250e084
--- /dev/null
+++ b/kcontrol/screensaver/testwin.cpp
@@ -0,0 +1,13 @@
+#include <twin.h>
+#include "testwin.h"
+
+class QXEmbed;
+
+TestWin::TestWin()
+ : KSWidget(0, 0, WStyle_Customize | WStyle_NoBorder | WX11BypassWM )
+{
+ setFocusPolicy(TQ_StrongFocus);
+ KWin::setState( winId(), NET::StaysOnTop );
+}
+
+#include "testwin.moc"