main: Handle cosmic-session ipc

This commit is contained in:
Victoria Brekenfeld 2022-07-06 23:30:50 +02:00
parent e480ed5d1c
commit 55df9bce09
3 changed files with 166 additions and 2 deletions

View file

@ -18,6 +18,7 @@ pub mod backend;
pub mod config;
pub mod input;
mod logger;
pub mod session;
pub mod shell;
pub mod state;
pub mod systemd;
@ -47,6 +48,8 @@ fn main() -> Result<()> {
);
// init backend
backend::init_backend_auto(&display.handle(), &mut event_loop, &mut state)?;
// potentially tell the session we are setup now
session::setup_socket(event_loop.handle(), &state)?;
// potentially tell systemd we are setup now
systemd::ready(&state);