diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-04-03 10:09:42 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-04-03 10:09:48 +0100 |
| commit | 347b83903474ab9e95fa9d4ba123f6f78ab38d40 (patch) | |
| tree | cc5a355120ed3a07c85af428c91b63e10674dff8 /src/managers/input/IdleInhibitor.cpp | |
| parent | fbdaf74a82b38e11a0a6914b3c9f7cb934ac1624 (diff) | |
workspaces: add visible flag
Diffstat (limited to 'src/managers/input/IdleInhibitor.cpp')
| -rw-r--r-- | src/managers/input/IdleInhibitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/IdleInhibitor.cpp b/src/managers/input/IdleInhibitor.cpp index 12d768f5..7e7ee3c9 100644 --- a/src/managers/input/IdleInhibitor.cpp +++ b/src/managers/input/IdleInhibitor.cpp @@ -65,7 +65,7 @@ void CInputManager::recheckIdleInhibitorStatus() { return; } - if (w->m_eIdleInhibitMode == IDLEINHIBIT_FULLSCREEN && w->m_bIsFullscreen && g_pCompositor->isWorkspaceVisible(w->workspaceID())) { + if (w->m_eIdleInhibitMode == IDLEINHIBIT_FULLSCREEN && w->m_bIsFullscreen && g_pCompositor->isWorkspaceVisible(w->m_pWorkspace)) { g_pCompositor->setIdleActivityInhibit(false); return; } |
