From 189f95e0fd8a4dbafd9754a87bf2e61e305f09c4 Mon Sep 17 00:00:00 2001 From: Shaojun Li Date: Thu, 25 Jul 2024 04:14:04 +0800 Subject: [PATCH] Compatible with "fcitx5" envrionment variable (#16434) --- src/Avalonia.FreeDesktop/DBusIme/X11DBusImeHelper.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Avalonia.FreeDesktop/DBusIme/X11DBusImeHelper.cs b/src/Avalonia.FreeDesktop/DBusIme/X11DBusImeHelper.cs index babf5cf417..a189c2e5da 100644 --- a/src/Avalonia.FreeDesktop/DBusIme/X11DBusImeHelper.cs +++ b/src/Avalonia.FreeDesktop/DBusIme/X11DBusImeHelper.cs @@ -12,6 +12,8 @@ namespace Avalonia.FreeDesktop.DBusIme { ["fcitx"] = static conn => new DBusInputMethodFactory(_ => new FcitxX11TextInputMethod(conn)), + ["fcitx5"] = static conn => + new DBusInputMethodFactory(_ => new FcitxX11TextInputMethod(conn)), ["ibus"] = static conn => new DBusInputMethodFactory(_ => new IBusX11TextInputMethod(conn)) };