summaryrefslogtreecommitdiff
path: root/src/protocols/TextInputV1.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-03-14 13:51:08 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-03-14 13:51:08 +0000
commit0807b8b95f595083a19bb5fe317d7242bcb26654 (patch)
treec35a7c9aede6327e88b44ffbfac0d1170d0f89e2 /src/protocols/TextInputV1.hpp
parent5dc1a5fec631ddd0136af28c901e8c962548d497 (diff)
tiv1: minor fixes for crashes
Diffstat (limited to 'src/protocols/TextInputV1.hpp')
-rw-r--r--src/protocols/TextInputV1.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protocols/TextInputV1.hpp b/src/protocols/TextInputV1.hpp
index 9057e132..f714b24c 100644
--- a/src/protocols/TextInputV1.hpp
+++ b/src/protocols/TextInputV1.hpp
@@ -24,6 +24,8 @@ struct STextInputV1 {
uint32_t serial = 0;
+ bool active = false;
+
struct SPendingSurr {
bool isPending = false;
std::string text = "";