type handle

This commit is contained in:
Henry Hiles 2026-04-20 22:26:55 -04:00
commit 5ba7b66d93
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -43,7 +43,7 @@ pub fn listen_workspaces(sink: StreamSink<Vec<Vec<Workspace>>>) -> Result<()> {
};
let mut event_loop: EventLoop<AppState> = EventLoop::try_new().unwrap();
let handle = event_loop.handle();
let handle: calloop::LoopHandle<'_, AppState> = event_loop.handle();
WaylandSource::new(connection.clone(), event_queue)
.insert(handle.clone())