1
0
Fork 0
forked from wry/wry

sighand: rebase from EventLoop onto AsyncEngine

This commit is contained in:
Julian Orth 2022-05-12 21:22:32 +02:00
parent 4d8a340cd0
commit 3037ee439c
2 changed files with 36 additions and 41 deletions

View file

@ -115,11 +115,11 @@ fn start_compositor2(
render::init()?;
clientmem::init()?;
let el = EventLoop::new()?;
sighand::install(&el)?;
let xkb_ctx = XkbContext::new().unwrap();
let xkb_keymap = xkb_ctx.keymap_from_str(include_str!("keymap.xkb")).unwrap();
let engine = AsyncEngine::install(&el)?;
let ring = IoUring::new(&engine, 32)?;
let _signal_future = sighand::install(&el, &engine, &ring)?;
let wheel = Wheel::new(&engine, &ring)?;
let (_run_toplevel_future, run_toplevel) = RunToplevel::install(&engine);
let node_ids = NodeIds::default();