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, 4 insertions, 0 deletions
diff --git a/src/input/mod.rs b/src/input/mod.rs
index e74ff100..5251f94f 100644
--- a/src/input/mod.rs
+++ b/src/input/mod.rs
@@ -508,6 +508,10 @@ impl State {
.set_cursor_image(CursorImageStatus::default_named());
self.niri.queue_redraw_all();
}
+ Action::ScreenshotTogglePointer => {
+ self.niri.screenshot_ui.toggle_pointer();
+ self.niri.queue_redraw_all();
+ }
Action::Screenshot => {
self.backend.with_primary_renderer(|renderer| {
self.niri.open_screenshot_ui(renderer);