1
0
Fork 0
forked from wry/wry

autocommit 2022-04-18 13:38:52 CEST

This commit is contained in:
Julian Orth 2022-04-18 13:38:52 +02:00
parent c11d299fb8
commit 085ca95835
12 changed files with 86 additions and 28 deletions

View file

@ -80,6 +80,7 @@ impl ZwpIdleInhibitManagerV1 {
) -> Result<(), ZwpIdleInhibitManagerV1Error> {
let req: CreateInhibitor = self.client.parse(self, parser)?;
let surface = self.client.lookup(req.surface)?;
log::info!("create {}", req.id);
let inhibit = Rc::new(ZwpIdleInhibitorV1 {
id: req.id,
inhibit_id: self.client.state.idle_inhibitor_ids.next(),