summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-09-04 18:42:11 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-09-04 18:42:11 +0200
commitba0c5fe0bba9ac671f4238b968e4728671eef3f8 (patch)
tree828802c3b10fd7dde2bdf3e73d39455986ac6bb5 /src/managers/input/InputManager.hpp
parentf6ecef0959163d10dd6597037192456977aa5bc2 (diff)
fix mouse focus not returning from a LS on follow mouse 0
Diffstat (limited to 'src/managers/input/InputManager.hpp')
-rw-r--r--src/managers/input/InputManager.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp
index aed91584..82d047f3 100644
--- a/src/managers/input/InputManager.hpp
+++ b/src/managers/input/InputManager.hpp
@@ -105,6 +105,9 @@ private:
bool m_bEmptyFocusCursorSet = false;
Vector2D m_vLastCursorPosFloored = Vector2D();
+ // for some bugs in follow mouse 0
+ bool m_bLastFocusOnLS = false;
+
void processMouseDownNormal(wlr_pointer_button_event* e);
void processMouseDownKill(wlr_pointer_button_event* e);