diff options
author | vaxerski <[email protected]> | 2022-08-19 23:22:53 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-08-19 23:22:59 +0200 |
commit | 1b1a0259a856892c136d03fe210151b0cdeda91c (patch) | |
tree | dcde5df2fc8de807d585152ec1eb756d34030bac | |
parent | 223ca6e2868b5a4d59bafecfa597e9b676226c4e (diff) | |
download | Hyprland-1b1a0259a856892c136d03fe210151b0cdeda91c.tar.gz Hyprland-1b1a0259a856892c136d03fe210151b0cdeda91c.zip |
fix crash
-rw-r--r-- | src/managers/input/InputManager.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index d6cf00be..87869da1 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -185,9 +185,10 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { } else { pFoundWindow = g_pCompositor->vectorToWindowIdeal(mouseCoords); - if (refocus && !pFoundWindow) { - pFoundWindow = g_pCompositor->getFirstWindowOnWorkspace(PMONITOR->activeWorkspace); - } + // TODO: this causes crashes, sometimes. ??? + // if (refocus && !pFoundWindow) { + // pFoundWindow = g_pCompositor->getFirstWindowOnWorkspace(PMONITOR->activeWorkspace); + // } } if (pFoundWindow) { |