aboutsummaryrefslogtreecommitdiff
path: root/src/window
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-12-30 08:48:05 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-12-30 20:12:37 +0300
commit8409107a5bb04980ea196a5d7095d5c34f6b2e4e (patch)
tree18a3fbcc3cab75a080f9f1d9c1ef2f06e55df237 /src/window
parent9089c3fb0224a7f8d425a02fa299f6a5ea607b17 (diff)
downloadniri-8409107a5bb04980ea196a5d7095d5c34f6b2e4e.tar.gz
niri-8409107a5bb04980ea196a5d7095d5c34f6b2e4e.tar.bz2
niri-8409107a5bb04980ea196a5d7095d5c34f6b2e4e.zip
Implement default-window-height for scrolling windows
Diffstat (limited to 'src/window')
-rw-r--r--src/window/unmapped.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window/unmapped.rs b/src/window/unmapped.rs
index 18073a98..cf8754b4 100644
--- a/src/window/unmapped.rs
+++ b/src/window/unmapped.rs
@@ -36,6 +36,11 @@ pub enum InitialConfigureState {
/// `None` means that the window will pick its own width.
width: Option<ColumnWidth>,
+ /// Resolved scrolling default height for this window.
+ ///
+ /// `None` means that the window will pick its own height.
+ height: Option<PresetSize>,
+
/// Resolved floating default width for this window.
///
/// `None` means that the window will pick its own width.