Linux: Update cursor position after all key presses not just pre-edit text changes
Fixes #5241
This commit is contained in:
parent
7fc1735a21
commit
4f8ef05058
@ -56,6 +56,9 @@ Detailed list of changes
|
||||
|
||||
- Wayland: Reduce flicker at startup by not using render frames immediately after a resize (:iss:`5235`)
|
||||
|
||||
- Linux: Update cursor position after all key presses not just pre-edit text
|
||||
changes (:iss:`5241`)
|
||||
|
||||
|
||||
0.25.2 [2022-06-07]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@ -157,9 +157,8 @@ on_key_input(GLFWkeyevent *ev) {
|
||||
case GLFW_IME_NONE:
|
||||
// for macOS, update ime position on every key input
|
||||
// because the position is required before next input
|
||||
#if defined(__APPLE__)
|
||||
// On Linux this is needed by Fig integration: https://github.com/kovidgoyal/kitty/issues/5241
|
||||
update_ime_position(w, screen);
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
debug("invalid state, ignoring\n");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user