Commit graph

16 commits

Author SHA1 Message Date
Vukašin Vojinović
0847247c33 chore: clippy 2025-10-22 23:55:11 +02:00
Vukašin Vojinović
7f7ab8bcbe chore: Rust 2024 edition
Set the formatting style to 2021 edition to avoid disrupting existing work.
Remove when possible.
2025-08-21 13:10:11 +02:00
Ian Douglas Scott
73b12194c0 Update smithay 2024-05-10 13:51:28 +02:00
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
Victoria Brekenfeld
5d5a510691 state: Move shell behind RwLock 2024-04-16 18:50:54 +02:00
Jeremy Soller
ec822e421f Implement kiosk mode for cosmic-greeter 2024-02-06 17:45:25 +01:00
Victoria Brekenfeld
c09a735289 state: Move Xwayland state into shell 2023-11-23 12:57:42 +01:00
Ian Douglas Scott
8561ab672b Update smithay 2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
57b51d9a18 session: Validate file descriptors send by cosmic-session 2023-10-05 21:50:58 +02:00
Victoria Brekenfeld
4e12957169 chore: Update deps 2023-10-02 21:51:49 +02:00
Victoria Brekenfeld
659933b039 xwm: Don't do multiple 2023-03-09 14:50:57 +01:00
Victoria Brekenfeld
35de500c00 chore: update smithay + switch to tracing 2023-02-24 17:43:07 +01:00
Victoria Brekenfeld
4940d0823d xwayland: Fix display env variable race 2023-01-25 13:20:17 +01:00
Victoria Brekenfeld
e5f4911bb6 xwayland: Expose DISPLAY variable to clients 2023-01-24 18:08:52 +01:00
Victoria Brekenfeld
55163a3203 session: Don't print erronous warning 2022-07-11 22:51:41 +02:00
Victoria Brekenfeld
55df9bce09 main: Handle cosmic-session ipc 2022-07-06 23:30:50 +02:00