aboutsummaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/input/mod.rs b/src/input/mod.rs
index 5251f94f..d1ce4114 100644
--- a/src/input/mod.rs
+++ b/src/input/mod.rs
@@ -513,9 +513,7 @@ impl State {
self.niri.queue_redraw_all();
}
Action::Screenshot => {
- self.backend.with_primary_renderer(|renderer| {
- self.niri.open_screenshot_ui(renderer);
- });
+ self.open_screenshot_ui();
}
Action::ScreenshotWindow => {
let active = self.niri.layout.active_window();