dotfiles/hm/desktop/lock/wayresume.diff

14 lines
400 B
Diff

diff --git a/src/main.rs b/src/main.rs
index 85930bd..586ee55 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -110,7 +110,7 @@ impl SeatHandler for State {
}
fn notification_cb(ctx: EventCtx<State, ExtIdleNotificationV1>) {
- if let ext_idle_notification_v1::Event::Idled = ctx.event {
+ if let ext_idle_notification_v1::Event::Resumed = ctx.event {
ctx.state.exit = true;
}
}