summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-03-09 18:12:55 +0000
committerVaxry <vaxry@vaxry.net>2024-03-09 18:12:55 +0000
commit26cd1bf949d0460b754fe3b1ae7f06bd4b2535ee (patch)
tree7f0dacc3a9a8e0311bade104a60f14eb3a39fb0d /src/managers/input/InputManager.hpp
parent18a35b140681767e055bb78d268efafab8664f90 (diff)
input: fix minor default cursor reset conditions
Diffstat (limited to 'src/managers/input/InputManager.hpp')
-rw-r--r--src/managers/input/InputManager.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp
index cef8386f..fd3aefe5 100644
--- a/src/managers/input/InputManager.hpp
+++ b/src/managers/input/InputManager.hpp
@@ -191,13 +191,15 @@ class CInputManager {
CWindow* m_pLastMouseFocus = nullptr;
wlr_surface* m_pLastMouseSurface = nullptr;
+ //
+ bool m_bEmptyFocusCursorSet = false;
+
private:
bool m_bCursorImageOverridden = false;
eBorderIconDirection m_eBorderIconDirection = BORDERICON_NONE;
// for click behavior override
eClickBehaviorMode m_ecbClickBehavior = CLICKMODE_DEFAULT;
- bool m_bEmptyFocusCursorSet = false;
Vector2D m_vLastCursorPosFloored = Vector2D();
void processMouseDownNormal(wlr_pointer_button_event* e);