respect window.isMapped in getWindowsOnWorkspace
This commit is contained in:
parent
a8e8729230
commit
f2ab2466ed
2 changed files with 2 additions and 2 deletions
|
|
@ -500,7 +500,7 @@ void CCompositor::sanityCheckWorkspaces() {
|
|||
int CCompositor::getWindowsOnWorkspace(const int& id) {
|
||||
int no = 0;
|
||||
for (auto& w : m_lWindows) {
|
||||
if (w.m_iWorkspaceID == id)
|
||||
if (w.m_iWorkspaceID == id && w.m_bIsMapped)
|
||||
no++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue