diff --git a/protocol/gamescope-input-method.xml b/protocol/gamescope-input-method.xml index 1d3f1f2..856c5e4 100644 --- a/protocol/gamescope-input-method.xml +++ b/protocol/gamescope-input-method.xml @@ -45,7 +45,7 @@ it. - + The input method manager allows the client to become the input method on a chosen seat. @@ -72,7 +72,7 @@ - + An input method object allows for clients to compose text. @@ -162,6 +162,8 @@ + + diff --git a/src/ime.cpp b/src/ime.cpp index a7a2d44..7533ae2 100644 --- a/src/ime.cpp +++ b/src/ime.cpp @@ -66,7 +66,7 @@ static uint32_t utf8_decode(const char **str_ptr) return ret; } -#define IME_MANAGER_VERSION 1 +#define IME_MANAGER_VERSION 2 /* Some clients assume keycodes are coming from evdev and interpret them. Only * use keys that would normally produce characters for our emulated events. */ @@ -90,6 +90,8 @@ static std::unordered_map