From 1cac8a5e1d6b6971193c78de22ba539911dcf406 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 10 Dec 2012 03:03:12 -0600 Subject: Fix kompmgr shadow support Add kompmgr settings reload method to twin DCOP Fix up kompmgr kcontrol module Make default TDM login screen appearance more like the rest of the TDE login system --- twin/workspace.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'twin/workspace.cpp') 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(); -- cgit v1.2.1