mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
delay the first active window sync
This commit is contained in:
parent
0c3b152f99
commit
69d9c2557d
1 changed files with 1 additions and 2 deletions
|
|
@ -47,7 +47,6 @@ TaskPanel::TaskPanel(QObject *parent, const QVariantList &args)
|
|||
m_activeTimer->setInterval(ACTIVE_WINDOW_UPDATE_INVERVAL);
|
||||
connect(m_activeTimer, &QTimer::timeout, this, &TaskPanel::updateActiveWindow);
|
||||
initWayland();
|
||||
m_activeTimer->start();
|
||||
}
|
||||
|
||||
TaskPanel::~TaskPanel() = default;
|
||||
|
|
@ -92,7 +91,7 @@ void TaskPanel::initWayland()
|
|||
connect(m_windowManagement, &KWayland::Client::PlasmaWindowManagement::activeWindowChanged,
|
||||
m_activeTimer, qOverload<>(&QTimer::start));
|
||||
|
||||
updateActiveWindow();
|
||||
m_activeTimer->start();
|
||||
}
|
||||
);
|
||||
connect(registry, &Registry::plasmaShellAnnounced, this,
|
||||
|
|
|
|||
Loading…
Reference in a new issue