mod backend; mod connector; mod drmdev; mod hardware_cursor; mod idle; mod input_device; mod slow_clients; use { crate::{ state::State, tasks::{backend::BackendEventHandler, slow_clients::SlowClientHandler}, }, std::rc::Rc, }; pub use {hardware_cursor::handle_hardware_cursor_tick, idle::idle}; pub async fn handle_backend_events(state: Rc) { let mut beh = BackendEventHandler { state }; beh.handle_events().await; } pub async fn handle_slow_clients(state: Rc) { let mut sch = SlowClientHandler { state }; sch.handle_events().await; }