forge
Explore
Log in

Don't you dare go Hollow

Activate monitors on session unlock (#858)

Browse files at this commit

bb3a05bb3fd467cda74282779956de73174c74d5UnverifiedSalman Farooq and Ivan Molodetskikh, Salman FarooqParent: 40fa822
So that e.g. unlocking by touching the fingerprint reader powers on the monitors.

---------
src/handlers/mod.rsmodified+4 -0
@@ -404,6 +404,10 @@ impl SessionLockHandler for State {
404 404
405 fn unlock(&mut self) {405 fn unlock(&mut self) {
406 self.niri.unlock();406 self.niri.unlock();
407+ self.niri.activate_monitors(&mut self.backend);
408+ self.niri
409+ .idle_notifier_state
410+ .notify_activity(&self.niri.seat);
407 }411 }
408 412
409 fn new_surface(&mut self, surface: LockSurface, output: WlOutput) {413 fn new_surface(&mut self, surface: LockSurface, output: WlOutput) {