sway
This commit is contained in:
parent
492f085d52
commit
bb021a1aae
30 changed files with 487 additions and 573 deletions
14
hm/desktop/lock/wayresume.diff
Normal file
14
hm/desktop/lock/wayresume.diff
Normal 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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue