diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-18 17:16:01 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-18 17:16:01 +0200 |
| commit | 7ae87a233c7c2c9c010f947f5d15f2968d03433b (patch) | |
| tree | e7c761c875a5f2cb05bec2f78caa375ef69beead /src/managers/InputManager.cpp | |
| parent | 8e14f3a08d47586f40233f3736b74fd5c021fe74 (diff) | |
Inhibit fixes
Diffstat (limited to 'src/managers/InputManager.cpp')
| -rw-r--r-- | src/managers/InputManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/InputManager.cpp b/src/managers/InputManager.cpp index 1f5b125b..0800ac95 100644 --- a/src/managers/InputManager.cpp +++ b/src/managers/InputManager.cpp @@ -53,7 +53,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { // first, we check if the workspace doesnt have a fullscreen window const auto PWORKSPACE = g_pCompositor->getWorkspaceByID(PMONITOR->activeWorkspace); - if (PWORKSPACE->m_bHasFullscreenWindow) { + if (PWORKSPACE->m_bHasFullscreenWindow && !foundSurface) { pFoundWindow = g_pCompositor->getFullscreenWindowOnWorkspace(PWORKSPACE->m_iID); for (auto w = g_pCompositor->m_lWindows.rbegin(); w != g_pCompositor->m_lWindows.rend(); ++w) { |
