1
0
Fork 0
forked from wry/wry

autocommit 2022-04-16 13:42:13 CEST

This commit is contained in:
Julian Orth 2022-04-16 13:42:13 +02:00
parent 4826305236
commit 50b792db78
27 changed files with 217 additions and 60 deletions

View file

@ -254,6 +254,10 @@ pub struct XBackend {
impl XBackend {
async fn run(self: Rc<Self>) -> Result<(), XBackendError> {
self.state
.backend_events
.push(BackendEvent::GraphicsInitialized);
self.query_devices(INPUT_DEVICE_ALL_MASTER).await?;
let _events = self.state.eng.spawn(self.clone().event_handler());