diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-27 09:58:22 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-30 20:12:37 +0300 |
| commit | db6447ed797fc5aa113d49e0da3130abcf58d2cf (patch) | |
| tree | 426cb2aa6ddbc8ac00cb62015608c45e0bb6d95e /src/window/unmapped.rs | |
| parent | 99c0fabee658d3b1fc0fd3faf6741afd344d8dab (diff) | |
| download | niri-db6447ed797fc5aa113d49e0da3130abcf58d2cf.tar.gz niri-db6447ed797fc5aa113d49e0da3130abcf58d2cf.tar.bz2 niri-db6447ed797fc5aa113d49e0da3130abcf58d2cf.zip | |
floating: Support default-column-width in most cases
open-fullscreen + open-floating default width is still not supported in this
commit.
Diffstat (limited to 'src/window/unmapped.rs')
| -rw-r--r-- | src/window/unmapped.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/window/unmapped.rs b/src/window/unmapped.rs index 2eeae5d4..3ea0f1d8 100644 --- a/src/window/unmapped.rs +++ b/src/window/unmapped.rs @@ -30,11 +30,16 @@ pub enum InitialConfigureState { /// affect anything before that. rules: ResolvedWindowRules, - /// Resolved default width for this window. + /// Resolved scrolling default width for this window. /// /// `None` means that the window will pick its own width. width: Option<ColumnWidth>, + /// Resolved floating default width for this window. + /// + /// `None` means that the window will pick its own width. + floating_width: Option<ColumnWidth>, + /// Whether the window should open full-width. is_full_width: bool, |
