Skip to content

Commit

Permalink
Merge pull request #144 from mahkoh/jorth/layer-shell-privileged
Browse files Browse the repository at this point in the history
wayland: make legacy wlr protocols privileged
  • Loading branch information
mahkoh authored Apr 7, 2024
2 parents f13c0c2 + a7d799a commit a64b9e9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ifs/zwlr_layer_shell_v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ impl Global for ZwlrLayerShellV1Global {
fn version(&self) -> u32 {
4
}

fn secure(&self) -> bool {
true
}
}

simple_add_global!(ZwlrLayerShellV1Global);
Expand Down
4 changes: 4 additions & 0 deletions src/ifs/zwlr_screencopy_manager_v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ impl Global for ZwlrScreencopyManagerV1Global {
fn version(&self) -> u32 {
3
}

fn secure(&self) -> bool {
true
}
}

pub struct ZwlrScreencopyManagerV1 {
Expand Down

0 comments on commit a64b9e9

Please sign in to comment.