diff options
| author | nyx <nnyyxxxx@protonmail.com> | 2025-03-29 03:40:21 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-29 07:40:21 +0000 |
| commit | 7dc015e16b30be457a227601de85f085e5af1dda (patch) | |
| tree | 061bcf50826d4ad03f6f7b16535d6e2ea94655de /src/layout | |
| parent | 0db48e2f1bf001bfd05c686002ff1998d0f1205b (diff) | |
| download | niri-7dc015e16b30be457a227601de85f085e5af1dda.tar.gz niri-7dc015e16b30be457a227601de85f085e5af1dda.tar.bz2 niri-7dc015e16b30be457a227601de85f085e5af1dda.zip | |
screenshot: make selection area modifiable via move/resize keybinds (#1279)
* screenshot: make selection area modifiable via keybinds
* input: run fmt
* Reimplement screenshot UI binds in a better way
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
Diffstat (limited to 'src/layout')
| -rw-r--r-- | src/layout/floating.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/floating.rs b/src/layout/floating.rs index 4fd7c7ee..a88e5bf4 100644 --- a/src/layout/floating.rs +++ b/src/layout/floating.rs @@ -26,7 +26,7 @@ use crate::utils::{ use crate::window::ResolvedWindowRules; /// By how many logical pixels the directional move commands move floating windows. -const DIRECTIONAL_MOVE_PX: f64 = 50.; +pub const DIRECTIONAL_MOVE_PX: f64 = 50.; /// Space for floating windows. #[derive(Debug)] |
