1
0
Fork 0
forked from wry/wry

idle_notifier: respect idle inhibitors for v1

This commit is contained in:
Julian Orth 2025-01-23 16:42:32 +01:00
parent 6f5693648a
commit 6140b77741
4 changed files with 45 additions and 13 deletions

View file

@ -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();
}
}