aboutsummaryrefslogtreecommitdiff
path: root/src/input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.rs')
-rw-r--r--src/input.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input.rs b/src/input.rs
index 63a22450..6a75960a 100644
--- a/src/input.rs
+++ b/src/input.rs
@@ -378,6 +378,11 @@ impl State {
Action::Spawn(command) => {
spawn(command);
}
+ Action::DoScreenTransition(delay_ms) => {
+ self.backend.with_primary_renderer(|renderer| {
+ self.niri.do_screen_transition(renderer, delay_ms);
+ });
+ }
Action::ScreenshotScreen => {
let active = self.niri.layout.active_output().cloned();
if let Some(active) = active {