diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-06-12 15:16:29 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-06-12 15:24:49 +0300 |
| commit | a23ce10311d2be91777099b90d8ca755a6b636e9 (patch) | |
| tree | 0e7f37fd3de6fb483cc35cbf9de7c2d9021cc887 /src/input/mod.rs | |
| parent | 2f18d8e32831a1e6000ca0d56dba05727088bb52 (diff) | |
| download | niri-a23ce10311d2be91777099b90d8ca755a6b636e9.tar.gz niri-a23ce10311d2be91777099b90d8ca755a6b636e9.tar.bz2 niri-a23ce10311d2be91777099b90d8ca755a6b636e9.zip | |
screenshot_ui: Move selection when holding Space
Diffstat (limited to 'src/input/mod.rs')
| -rw-r--r-- | src/input/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input/mod.rs b/src/input/mod.rs index b0bfd962..fec6c2d5 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -396,6 +396,10 @@ impl State { return FilterResult::Intercept(None); } + if let Some(Keysym::space) = raw { + this.niri.screenshot_ui.set_space_down(pressed); + } + let bindings = &this.niri.config.borrow().binds; let res = should_intercept_key( &mut this.niri.suppressed_keys, |
