1
0
Fork 0
forked from wry/wry

surface: include current time in frame requests

This commit is contained in:
Julian Orth 2024-07-11 17:48:50 +02:00
parent bb9e6ba3b5
commit ae87b3ef7a
7 changed files with 12 additions and 11 deletions

View file

@ -39,7 +39,7 @@ impl WlDisplayRequestHandler for WlDisplay {
let cb = Rc::new(WlCallback::new(req.callback, &self.client));
track!(self.client, cb);
self.client.add_client_obj(&cb)?;
cb.send_done();
cb.send_done(0);
self.client.remove_obj(&*cb)?;
Ok(())
}