summaryrefslogtreecommitdiff
path: root/src/helpers
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/helpers
parent10c2bd06863e2b85ff740b71fdd57f4ae8ea5cad (diff)
Handle keyboards better
Also fixes some crashes of apps on reload
Diffstat (limited to 'src/helpers')
-rw-r--r--src/helpers/WLClasses.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp
index e547f541..461d02e0 100644
--- a/src/helpers/WLClasses.hpp
+++ b/src/helpers/WLClasses.hpp
@@ -69,6 +69,8 @@ struct SKeyboard {
DYNLISTENER(keyboardKey);
DYNLISTENER(keyboardDestroy);
+ bool active = false;
+
// For the list lookup
bool operator==(const SKeyboard& rhs) {
return keyboard == rhs.keyboard;