type handle
This commit is contained in:
parent
1fa6c3e790
commit
5ba7b66d93
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue