mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-01 07:05:48 +00:00
fix: no one call bamf
try to call bamf log: as title
This commit is contained in:
parent
3a5438b399
commit
27e1493982
@ -40,6 +40,16 @@ DBusHandler::DBusHandler(TaskManager *taskmanager, QObject *parent)
|
||||
m_taskmanager->setDdeLauncherVisible(visible);
|
||||
m_taskmanager->updateHideState(true);
|
||||
});
|
||||
|
||||
// try to active bamf in another thread
|
||||
QtConcurrent::run([ = ] {
|
||||
QDBusInterface bamfInterface(
|
||||
QStringLiteral("org.ayatana.bamf"),
|
||||
QStringLiteral("/org/ayatana/bamf/matcher"),
|
||||
QStringLiteral("org.ayatana.bamf.matcher"),
|
||||
QDBusConnection::sessionBus()
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
void DBusHandler::listenWaylandWMSignals()
|
||||
|
Loading…
x
Reference in New Issue
Block a user