mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-10-15 06:25:59 +00:00
workspace: update hasFullscreenWindow in updateWindows
This commit is contained in:
@@ -648,6 +648,8 @@ void CWorkspace::rename(const std::string& name) {
|
||||
}
|
||||
|
||||
void CWorkspace::updateWindows() {
|
||||
m_bHasFullscreenWindow = std::ranges::any_of(g_pCompositor->m_vWindows, [this](const auto& w) { return w->m_bIsMapped && w->m_pWorkspace == m_pSelf && w->isFullscreen(); });
|
||||
|
||||
for (auto const& w : g_pCompositor->m_vWindows) {
|
||||
if (!w->m_bIsMapped || w->m_pWorkspace != m_pSelf)
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user