libei: Add com.system76.CosmicOSK to DBus whitelist

This commit is contained in:
Ian Douglas Scott 2026-08-17 09:35:31 -07:00 • committed by Ian Douglas Scott
parent 861a460e6c
commit 8806436f81

View file

@ -8,9 +8,10 @@ use zbus::names::{UniqueName, WellKnownName};
use super::name_owners::NameOwners;
static ALLOWED_NAMES: &[WellKnownName] = &[WellKnownName::from_static_str_unchecked(
"org.freedesktop.impl.portal.desktop.cosmic",
)];
static ALLOWED_NAMES: &[WellKnownName] = &[
WellKnownName::from_static_str_unchecked("org.freedesktop.impl.portal.desktop.cosmic"),
WellKnownName::from_static_str_unchecked("com.system76.CosmicOSK"),
];
/// Channel for handing the EI socketpair (and requested device types)
/// It's `None` until the EI sender side has been set up