From 9a8a6317ff9dc7d97a0018d8d0b19cd033d2c47b Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 5 Aug 2022 16:21:08 +0200 Subject: multiple IME fixes --- src/helpers/WLClasses.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/helpers') 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 -- cgit v1.2.3