mirror of
https://github.com/KDE/latte-dock.git
synced 2025-02-07 13:57:40 +03:00
ignore LastActiveWindow tracking for !enabled
This commit is contained in:
parent
7decc54ddf
commit
e57ff695ed
@ -281,6 +281,10 @@ void LastActiveWindow::setInformation(const WindowInfoWrap &info)
|
||||
//! PRIVATE SLOTS
|
||||
void LastActiveWindow::windowChanged(const WindowId &wid)
|
||||
{
|
||||
if (!m_trackedInfo->enabled()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_winId == wid && !wid.isNull()) {
|
||||
setInformation(m_windowsTracker->infoFor(wid));
|
||||
} else if (m_history.contains(wid)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user