summaryrefslogtreecommitdiff
path: root/src/managers/InputManager.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-06-03 18:59:39 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-06-03 18:59:39 +0200
commit1a93b2a7565d2bb6e376ce1884a4a43178ba443b (patch)
treecb4aa14b68422cd27d1b4e1a15946fb8c54fe78c /src/managers/InputManager.hpp
parent10c2bd06863e2b85ff740b71fdd57f4ae8ea5cad (diff)
Handle keyboards better
Also fixes some crashes of apps on reload
Diffstat (limited to 'src/managers/InputManager.hpp')
-rw-r--r--src/managers/InputManager.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/managers/InputManager.hpp b/src/managers/InputManager.hpp
index 3f5afc8a..a6f436da 100644
--- a/src/managers/InputManager.hpp
+++ b/src/managers/InputManager.hpp
@@ -40,6 +40,8 @@ public:
std::list<SKeyboard> m_lKeyboards;
std::list<SMouse> m_lMice;
+ SKeyboard* m_pActiveKeyboard = nullptr;
+
private:
void mouseMoveUnified(uint32_t, bool refocus = false);