Browse Source

Compatible with "fcitx5" envrionment variable (#16434)

pull/16453/head
Shaojun Li 2 years ago
committed by GitHub
parent
commit
189f95e0fd
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  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