Browse Source

Compatible with "fcitx5" envrionment variable (#16434)

release/11.1.3
Shaojun Li 2 years ago
committed by Max Katz
parent
commit
b6a5c7aa2f
  1. 2
      src/Avalonia.FreeDesktop/DBusIme/X11DBusImeHelper.cs

2
src/Avalonia.FreeDesktop/DBusIme/X11DBusImeHelper.cs

@ -12,6 +12,8 @@ namespace Avalonia.FreeDesktop.DBusIme
{
["fcitx"] = static conn =>
new DBusInputMethodFactory<FcitxX11TextInputMethod>(_ => new FcitxX11TextInputMethod(conn)),
["fcitx5"] = static conn =>
new DBusInputMethodFactory<FcitxX11TextInputMethod>(_ => new FcitxX11TextInputMethod(conn)),
["ibus"] = static conn =>
new DBusInputMethodFactory<IBusX11TextInputMethod>(_ => new IBusX11TextInputMethod(conn))
};

Loading…
Cancel
Save