Linux: Fix release event for the final key in a compose sequence not being reported. Fixes #4285

This commit is contained in:
Kovid Goyal
2021-11-29 19:26:16 +05:30
parent cdb1138465
commit bd288bd18f
6 changed files with 38 additions and 25 deletions

4
kitty/glfw-wrapper.h generated
View File

@@ -983,6 +983,10 @@ typedef struct GLFWkeyevent
// A value of GLFW_IME_PREEDIT_CHANGED means the pre-edit text for the input event has been changed.
// A value of GLFW_IME_COMMIT_TEXT means the text should be committed.
GLFWIMEState ime_state;
// For internal use only. On Linux it is the actual keycode reported by the windowing system, in contrast
// to native_key which can be the result of a compose operation. On macOS it is the same as native_key.
uint32_t native_key_id;
} GLFWkeyevent;
/*! @brief The function pointer type for error callbacks.