add dbus osk and session support

The D-Bus interfaces used by Phosh are org.gnome.SessionManager for
recovering critical services from crashes and sm.puri.OSK0 for manual
on-screen keyboard activation. Add support for them.
This commit is contained in:
Richard Acayan 2024-07-24 22:39:16 -04:00
parent 397323b582
commit 4fd0c82997
6 changed files with 283 additions and 30 deletions

View file

@ -13,12 +13,14 @@ libc = "0.2.155"
memmap2 = "0.9.4"
polling = "3.7.2"
rgb = "0.8.44"
tokio = { version = "1.38.1", features = ["macros", "rt"] }
wayland-backend = "0.3.5"
wayland-client = "0.31.4"
wayland-protocols = { version = "0.32.2", features = ["client", "staging", "unstable"] }
wayland-protocols-wlr = { version = "0.3.2", features = ["client"] }
wayland-scanner = "0.31.3"
xkeysym = "0.2.0"
zbus = { version = "4.4.0", default-features = false, features = ["tokio"] }
[build-dependencies]
bindgen = "0.69.4"