mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-12 02:25:54 -07:00
respect window.isMapped in getWindowsOnWorkspace
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user