From d4519aafd3d1f3f54cef62ba09c016e6f913a772 Mon Sep 17 00:00:00 2001 From: Weng Xuetian Date: Thu, 20 Jul 2023 12:04:01 -0700 Subject: [PATCH] Remove the unimplemented CloseIC in fcitx module This call is actually a left-over when porting from fcitx4 service to the new org.freedesktop.portal.Fcitx supported by both fcitx4/fcitx5. CloseIC is actually never a part of the new interface on org.freedesktop.portal.Fcitx. It cause any issue user visible effect. --- src/core/linux/SDL_fcitx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/linux/SDL_fcitx.c b/src/core/linux/SDL_fcitx.c index 54addf582..d7cfe6be2 100644 --- a/src/core/linux/SDL_fcitx.c +++ b/src/core/linux/SDL_fcitx.c @@ -399,7 +399,6 @@ void SDL_Fcitx_SetFocus(SDL_bool focused) void SDL_Fcitx_Reset(void) { FcitxClientICCallMethod(&fcitx_client, "Reset"); - FcitxClientICCallMethod(&fcitx_client, "CloseIC"); } SDL_bool SDL_Fcitx_ProcessKeyEvent(Uint32 keysym, Uint32 keycode, Uint8 state)