We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
COSMIC_ENABLE_WAYLAND_SECURITY
1 parent b25b304 commit 5c40d8bCopy full SHA for 5c40d8b
src/state.rs
@@ -581,10 +581,6 @@ pub fn client_is_privileged(client: &Client) -> bool {
581
.is_some_and(|client_state| client_state.privileged)
582
}
583
584
-fn enable_wayland_security() -> bool {
585
- crate::utils::env::bool_var("COSMIC_ENABLE_WAYLAND_SECURITY").unwrap_or(false)
586
-}
587
-
588
impl State {
589
pub fn new(
590
dh: &DisplayHandle,
@@ -766,7 +762,7 @@ impl State {
766
762
BackendData::Kms(kms_state) => *kms_state.primary_node.read().unwrap(),
767
763
_ => None,
768
764
},
769
- privileged: !enable_wayland_security(),
765
+ privileged: true,
770
evls: self.common.event_loop_signal.clone(),
771
security_context: None,
772
0 commit comments