aboutsummaryrefslogtreecommitdiff
path: root/src/handlers
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-02-17 09:09:48 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-02-17 09:09:59 +0300
commitd27d6a504d9d59ffcf01ea9a1ee0668f1c6d3eef (patch)
tree7e92049956c6678cd6e2606abdf8edf183181600 /src/handlers
parentec5144feca1fce94329b51796979c5c2e3eead24 (diff)
downloadniri-d27d6a504d9d59ffcf01ea9a1ee0668f1c6d3eef.tar.gz
niri-d27d6a504d9d59ffcf01ea9a1ee0668f1c6d3eef.tar.bz2
niri-d27d6a504d9d59ffcf01ea9a1ee0668f1c6d3eef.zip
Make idle notify lazy
Diffstat (limited to 'src/handlers')
-rw-r--r--src/handlers/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/handlers/mod.rs b/src/handlers/mod.rs
index 587d44ea..c23966ed 100644
--- a/src/handlers/mod.rs
+++ b/src/handlers/mod.rs
@@ -451,9 +451,7 @@ impl SessionLockHandler for State {
fn unlock(&mut self) {
self.niri.unlock();
self.niri.activate_monitors(&mut self.backend);
- self.niri
- .idle_notifier_state
- .notify_activity(&self.niri.seat);
+ self.niri.notify_activity();
}
fn new_surface(&mut self, surface: LockSurface, output: WlOutput) {