aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-08-19 23:22:53 +0200
committervaxerski <[email protected]>2022-08-19 23:22:59 +0200
commit1b1a0259a856892c136d03fe210151b0cdeda91c (patch)
treedcde5df2fc8de807d585152ec1eb756d34030bac
parent223ca6e2868b5a4d59bafecfa597e9b676226c4e (diff)
downloadHyprland-1b1a0259a856892c136d03fe210151b0cdeda91c.tar.gz
Hyprland-1b1a0259a856892c136d03fe210151b0cdeda91c.zip
fix crash
-rw-r--r--src/managers/input/InputManager.cpp7
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) {