diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-04-02 13:30:45 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-04-02 13:30:45 +0100 |
| commit | 0fc145c52cf1743a9bb71a8d7c759305d2323a23 (patch) | |
| tree | 743ad00776d7c656b4c39c7cdf14819f6f18c80a /src/managers/input/InputManager.hpp | |
| parent | c2b25f4701c98704303ab4ca9d008a29deb527b3 (diff) | |
input: hold focus on mouse buttons
Diffstat (limited to 'src/managers/input/InputManager.hpp')
| -rw-r--r-- | src/managers/input/InputManager.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp index b64cae5b..a98ad497 100644 --- a/src/managers/input/InputManager.hpp +++ b/src/managers/input/InputManager.hpp @@ -202,6 +202,10 @@ class CInputManager { SLayerSurface* m_pFoundLSToFocus = nullptr; CWindow* m_pFoundWindowToFocus = nullptr; + // for holding focus on buttons held + bool m_bFocusHeldByButtons = false; + bool m_bRefocusHeldByButtons = false; + // for releasing mouse buttons std::list<uint32_t> m_lCurrentlyHeldButtons; |
