mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Add PID to Window IPC
This commit is contained in:
@@ -1773,6 +1773,7 @@ impl Niri {
|
||||
compositor_state: Default::default(),
|
||||
can_view_decoration_globals: config.prefer_no_csd,
|
||||
restricted: false,
|
||||
credentials_unknown: false,
|
||||
});
|
||||
|
||||
if let Err(err) = state.niri.display_handle.insert_client(client, data) {
|
||||
@@ -4825,6 +4826,8 @@ pub struct ClientState {
|
||||
pub can_view_decoration_globals: bool,
|
||||
/// Whether this client is denied from the restricted protocols such as security-context.
|
||||
pub restricted: bool,
|
||||
/// We cannot retrieve this client's socket credentials.
|
||||
pub credentials_unknown: bool,
|
||||
}
|
||||
|
||||
impl ClientData for ClientState {
|
||||
|
||||
Reference in New Issue
Block a user