workspace taskbars: Fix title not updating
Fix another older bug where the title of a window will not be updated after moving it to another monitor. In onWindowMoved, when moving an orphan window to the display of the current bar, that window should no longer be an orphan.
This commit is contained in:
@ -509,6 +509,7 @@ void Workspaces::onWindowMoved(std::string const &payload) {
|
|||||||
|
|
||||||
// ...and then add it to the new workspace
|
// ...and then add it to the new workspace
|
||||||
if (!windowRepr.empty()) {
|
if (!windowRepr.empty()) {
|
||||||
|
m_orphanWindowMap.erase(windowAddress);
|
||||||
m_windowsToCreate.emplace_back(workspaceName, windowAddress, windowRepr);
|
m_windowsToCreate.emplace_back(workspaceName, windowAddress, windowRepr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user