1
0
Fork 0
forked from wry/wry

autocommit 2022-04-20 20:20:36 CEST

This commit is contained in:
Julian Orth 2022-04-20 20:20:36 +02:00
parent 34e665cd8b
commit dae9e52347
8 changed files with 22 additions and 13 deletions

View file

@ -23,7 +23,6 @@ pub struct ZwpIdleInhibitorV1 {
impl ZwpIdleInhibitorV1 {
fn destroy(&self, parser: MsgParser<'_, '_>) -> Result<(), ZwpIdleInhibitorV1Error> {
log::info!("destroy {}", self.id);
let _req: Destroy = self.client.parse(self, parser)?;
self.client.remove_obj(self)?;
if self.surface.idle_inhibitors.remove(&self.id).is_some() {