autocommit 2022-04-20 20:20:36 CEST
This commit is contained in:
parent
34e665cd8b
commit
dae9e52347
8 changed files with 22 additions and 13 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue