Commit graph

28 commits

Author SHA1 Message Date
Ashley Wulber
fd2dc23fac feat: use privileged sockets 2023-11-13 10:31:38 -05:00
Ashley Wulber
fcb16e29c1 refactor: fully restart after the compositor exits 2023-10-31 11:52:27 -04:00
Ashley Wulber
3746d20225 fix: set nonblocking to true for the client Fd 2023-06-27 14:19:40 -04:00
Ian Douglas Scott
1fe93839db Don't log output of cosmic-comp/cosmic-panel, log panics
It is better to have `cosmic-comp` and `cosmic-panel` log to journald
themselves.

Having panics logged should be helpful if panics ever occur.
2023-01-13 11:57:38 -08:00
Ashley Wulber
c41c108c4f
fix: mark comp sock as not cloexec 2022-10-23 19:33:43 -04:00
Ashley Wulber
c350099b76
feat: cosmic-bg & update deps 2022-10-23 17:41:28 -04:00
Lucy
f75e970847
🚨 Everything now seems to compile! 2022-09-23 14:52:14 -04:00
Lucy
a4a791ed33
🚧 Move process management to launch-pad 2022-09-19 13:48:48 -04:00
Ian Douglas Scott
46047f4a58 Use OwnedFd, now that it's stable 2022-08-12 09:18:58 -07:00
Lucy
e822a87072
📝 Document compositor-related (comp.rs) code 2022-08-08 11:19:27 -04:00
Lucy
89c606ab18
Exit compositor on IPC failure 2022-08-03 14:12:05 -04:00
Ian Douglas Scott
cefd13692b
Don't leak fds, and don't unset cloexec except/until needed (#3)
This may still leak fds in some error cases. That can be solved by using
`OwnedFd` when the next Rust stable releases.
2022-07-20 11:05:01 -04:00
Lucy
378f137d0a
Exit on compositor exit 2022-07-12 15:57:10 -04:00
Lucy
07c811ba97
Wait for SetEnv 2022-07-11 10:47:00 -04:00
Lucy
a67a677a1a
📦 ♻️ Refactor a bunch of stuff; debian packaging 2022-07-07 16:45:17 -04:00
Lucy
a0091235a4
🗑️ Code cleanup 2022-07-06 15:32:21 -04:00
Lucy
5bf43a72af
♻️ Use u16 instead of newline 2022-07-06 11:58:57 -04:00
Lucy
dedfb57285
Socket passing works! 2022-06-30 12:07:45 -04:00
Lucy
606800a711
Send length alongside Message::NewPrivilegedClient 2022-06-30 11:09:00 -04:00
Lucy
f39cdb37b5
🚧 Proper WAYLAND_SOCKET setup, I think. 2022-06-30 10:35:02 -04:00
Lucy
97fa3df483
🚧 More IPC stuff 2022-06-28 16:19:47 -04:00
Lucy
a0c05bcb66
🚧 Implement compositor IPC further 2022-06-28 13:40:16 -04:00
Lucy
09b03fda1a
🚧 Work on session<->comp IPC 2022-06-27 14:17:31 -04:00
Lucy
a732dafc36
Send a socket as COSMIC_SESSION_SOCK to the compositor 2022-06-27 13:54:24 -04:00
Lucy
be2b800716
🐛 Whoops, I'm supposed to use WAYLAND_DISPLAY, not WAYLAND_SOCKET (thanks @Drakulix!) 2022-06-24 20:36:49 -04:00
Lucy
c84857ae9b
🔒️ Move away from std::env::set_var, which is unsound 2022-06-24 14:46:14 -04:00
Lucy
fb1a832916
Get WAYLAND_SOCKET from comp; run cosmic-panel 2022-06-24 12:56:38 -04:00
Lucy
8bf6567a91
🚧 Basic ProcessHandler works! 2022-06-24 11:43:48 -04:00