This commit is contained in:
Geoffrey Frogeye 2025-05-27 19:26:30 +02:00
parent 492f085d52
commit bb021a1aae
30 changed files with 487 additions and 573 deletions

View file

@ -0,0 +1,14 @@
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;
}
}