[kwin] Connect the Compositor to a reinit signal
Allows to force a reinit from the config module again.
This commit is contained in:
parent
f7bc2775d1
commit
d90be88446
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@ Compositor::Compositor(QObject* workspace)
|
|||
QDBusConnection dbus = QDBusConnection::sessionBus();
|
||||
dbus.registerObject(QStringLiteral("/Compositor"), this);
|
||||
dbus.registerService(QStringLiteral("org.kde.kwin.Compositing"));
|
||||
dbus.connect(QString(), QStringLiteral("/Compositor"), QStringLiteral("org.kde.kwin.Compositing"),
|
||||
QStringLiteral("reinit"), this, SLOT(slotReinitialize()));
|
||||
connect(&unredirectTimer, SIGNAL(timeout()), SLOT(delayedCheckUnredirect()));
|
||||
connect(&compositeResetTimer, SIGNAL(timeout()), SLOT(restart()));
|
||||
connect(workspace, SIGNAL(configChanged()), SLOT(slotConfigChanged()));
|
||||
|
|
Loading…
Reference in a new issue