summaryrefslogtreecommitdiffstats
path: root/twin/workspace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin/workspace.cpp')
-rw-r--r--twin/workspace.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/twin/workspace.cpp b/twin/workspace.cpp
index 923e8775a..6df4d1198 100644
--- a/twin/workspace.cpp
+++ b/twin/workspace.cpp
@@ -2806,13 +2806,21 @@ void Workspace::stopKompmgr()
kompmgr->disconnect(this, TQT_SLOT(restartKompmgr(KProcess*)));
options->useTranslucency = FALSE;
if (popup){ delete popup; popup = 0L; } // to add/remove opacity slider
- kompmgr->kill();
+ kompmgr->kill(SIGKILL);
TQByteArray ba;
TQDataStream arg(ba, IO_WriteOnly);
arg << "";
kapp->dcopClient()->emitDCOPSignal("default", "kompmgrStopped()", ba);
}
+void Workspace::kompmgrReloadSettings()
+{
+ if (!kompmgr || !kompmgr->isRunning()) {
+ return;
+ }
+ kompmgr->kill(SIGUSR2);
+}
+
bool Workspace::kompmgrIsRunning()
{
return kompmgr && kompmgr->isRunning();