Linux: Update cursor position after all key presses not just pre-edit text changes

Fixes #5241
This commit is contained in:
Kovid Goyal 2022-06-29 11:37:35 +05:30
parent 7fc1735a21
commit 4f8ef05058
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 2 deletions

View File

@ -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]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -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");