idle_notifier: respect idle inhibitors for v1
This commit is contained in:
parent
6f5693648a
commit
6140b77741
4 changed files with 45 additions and 13 deletions
|
|
@ -26,6 +26,7 @@ pub struct ExtIdleNotificationV1 {
|
|||
impl ExtIdleNotificationV1 {
|
||||
fn detach(&self) {
|
||||
self.seat.remove_idle_notification(self);
|
||||
self.client.state.idle.remove_inhibited_notification(self);
|
||||
self.task.take();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue