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) { - if let ext_idle_notification_v1::Event::Idled = ctx.event { + if let ext_idle_notification_v1::Event::Resumed = ctx.event { ctx.state.exit = true; } }