From 3303289afa7d8005ff42a12523b60039ecaa3287 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 13 Sep 2022 09:40:00 +0200 Subject: [PATCH] ime: add move_{up,down} actions --- protocol/gamescope-input-method.xml | 6 ++++-- src/ime.cpp | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) 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