summaryrefslogtreecommitdiff
path: root/src/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers')
-rw-r--r--src/helpers/WLClasses.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp
index 76f9af2f..c07bf46a 100644
--- a/src/helpers/WLClasses.hpp
+++ b/src/helpers/WLClasses.hpp
@@ -96,6 +96,7 @@ struct SKeyboard {
DYNLISTENER(keyboardKey);
DYNLISTENER(keyboardDestroy);
+ bool isVirtual = false;
bool active = false;
std::string name = "";
@@ -285,4 +286,12 @@ struct STextInput {
DYNLISTENER(textInputDestroy);
DYNLISTENER(pendingSurfaceDestroy);
+};
+
+struct SIMEKbGrab {
+ wlr_input_method_keyboard_grab_v2* pWlrKbGrab = nullptr;
+
+ wlr_keyboard* pKeyboard = nullptr;
+
+ DYNLISTENER(grabDestroy);
}; \ No newline at end of file