diff --git a/docs/changelog.rst b/docs/changelog.rst index 33d854b30..0f01c8295 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -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] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/kitty/keys.c b/kitty/keys.c index 24ccfda07..965ee74f0 100644 --- a/kitty/keys.c +++ b/kitty/keys.c @@ -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");