aboutsummaryrefslogtreecommitdiff
path: root/src/layout/floating.rs
diff options
context:
space:
mode:
authornyx <nnyyxxxx@protonmail.com>2025-03-29 03:40:21 -0400
committerGitHub <noreply@github.com>2025-03-29 07:40:21 +0000
commit7dc015e16b30be457a227601de85f085e5af1dda (patch)
tree061bcf50826d4ad03f6f7b16535d6e2ea94655de /src/layout/floating.rs
parent0db48e2f1bf001bfd05c686002ff1998d0f1205b (diff)
downloadniri-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/floating.rs')
-rw-r--r--src/layout/floating.rs2
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)]