Merge pull request #144 from mahkoh/jorth/layer-shell-privileged
wayland: make legacy wlr protocols privileged
This commit is contained in:
commit
a64b9e99d9
2 changed files with 8 additions and 0 deletions
|
|
@ -113,6 +113,10 @@ impl Global for ZwlrLayerShellV1Global {
|
||||||
fn version(&self) -> u32 {
|
fn version(&self) -> u32 {
|
||||||
4
|
4
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn secure(&self) -> bool {
|
||||||
|
true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
simple_add_global!(ZwlrLayerShellV1Global);
|
simple_add_global!(ZwlrLayerShellV1Global);
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,10 @@ impl Global for ZwlrScreencopyManagerV1Global {
|
||||||
fn version(&self) -> u32 {
|
fn version(&self) -> u32 {
|
||||||
3
|
3
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn secure(&self) -> bool {
|
||||||
|
true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct ZwlrScreencopyManagerV1 {
|
pub struct ZwlrScreencopyManagerV1 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue