diff options
| author | Honkazel <169346573+Honkazel@users.noreply.github.com> | 2025-05-03 21:54:15 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-03 18:54:15 +0200 |
| commit | 3465efcdc1d15402ca23e7ce609905c5814fb9ee (patch) | |
| tree | 2094692dafb3720527e665acbaf91e9f123f62d3 /src/managers/input/InputManager.cpp | |
| parent | cdf5736f1a5e6cc1c3bb8fd50501ab17189725ea (diff) | |
internal: Use vecnotinrect instead of !vecinrect (#10262)
* monitor: use vecnotinrect
* inputmanager: vecnotinrect
* clang format
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index f2954c84..90c43988 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -522,7 +522,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus, bool mouse) { if (pFoundWindow && foundSurface == pFoundWindow->m_wlSurface->resource() && !m_cursorImageOverridden) { const auto BOX = pFoundWindow->getWindowMainSurfaceBox(); - if (!VECINRECT(mouseCoords, BOX.x, BOX.y, BOX.x + BOX.width, BOX.y + BOX.height)) + if (VECNOTINRECT(mouseCoords, BOX.x, BOX.y, BOX.x + BOX.width, BOX.y + BOX.height)) setCursorImageOverride("left_ptr"); else restoreCursorIconToApp(); |
