Add fcitx5 dbus interface to fcitx abstraction

The new dbus interface is using session bus and supported by both fcitx4
& fcitx5.
This commit is contained in:
Weng Xuetian 2024-04-30 18:52:08 +00:00
parent aaad725ac0
commit 8605e68674
Failed to generate hash of commit

View file

@ -22,5 +22,18 @@
owner @{HOME}/.config/fcitx/dbus/* r,
# Allow access to the Fcitx portal, supported by fcitx/fcitx5
dbus (send)
bus=session
path=/{,org/freedesktop/portal/}inputmethod
interface=org.fcitx.Fcitx.InputMethod1
member={CreateInputContext,Version}
peer=(name=org.freedesktop.portal.Fcitx),
dbus (send, receive)
bus=session
path=/{,org/freedesktop/portal/}inputcontext/**
interface=org.fcitx.Fcitx.InputContext1,
# Include additions to the abstraction
include if exists <abstractions/fcitx-strict.d>