No description
Find a file
Ian Douglas Scott a9740e5040 Change how COSMIC_ENABLE_WAYLAND_SECURITY/privileged is handled
Manually starting `cosmic-panel` was not working properly in release
builds, because without `cfg!(debug_assertions)`, the `privileged` flag
wasn't sent on the panel, so it couldn't be propagated to the applets,
which also fail the `client_has_no_security_context()` check.

I don't see a way to have both the `cfg!(debug_assertions)` check and
`COSMIC_ENABLE_WAYLAND_SECURITY`. Now only the latter is used, and it
determines the value of `privileged` for clients started normally. In
the future, we could make the default value of
`COSMIC_ENABLE_WAYLAND_SECURITY` depend on `cfg!(debug_assertions)` if
desired.

This also corrects the inconsistency that the `cfg!(debug_assertions)`
check wasn't applied to the render-node-specific Wayland sockets.
2024-05-08 13:10:07 +02:00
.github/workflows nix: fix builds and CI 2023-07-05 02:14:07 +08:00
cosmic-comp-config feat: add tiling variables to cosmic config 2024-02-08 20:25:18 +01:00
data main: Add (optional) systemd notify 2022-04-28 13:41:37 +02:00
debian Enable smithay/renderer_pixman feature 2024-04-17 12:01:25 +02:00
resources Turkish translation added 2024-03-25 12:50:31 +01:00
src Change how COSMIC_ENABLE_WAYLAND_SECURITY/privileged is handled 2024-05-08 13:10:07 +02:00
.gitignore Rework source filtering. 2023-01-04 01:52:16 -08:00
build.rs deps: Update to wayland-rs.0.30 2022-07-04 16:01:06 +02:00
Cargo.lock wayland: Add cosmic-output-management 2024-05-07 12:25:15 +02:00
Cargo.toml Enable smithay/renderer_pixman feature 2024-04-17 12:01:25 +02:00
config.ron Use loginctl lock-session instead of running cosmic-greeter 2024-04-08 09:43:17 -06:00
flake.lock nix: setup dev shell 2023-11-12 17:30:41 +04:00
flake.nix nix: setup dev shell 2023-11-12 17:30:41 +04:00
i18n.toml i18n support 2023-07-06 00:04:34 +02:00
LICENSE Initial commit 2021-12-15 17:25:15 +01:00
Makefile chore: use --offline with vendored builds 2023-05-25 22:28:51 +02:00
rust-toolchain.toml chore: Update smithay 2024-02-19 13:09:49 +01:00
rustfmt.toml Fix refresh_focus 2023-04-01 20:35:58 +04:00