From db6447ed797fc5aa113d49e0da3130abcf58d2cf Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 27 Dec 2024 09:58:22 +0300 Subject: floating: Support default-column-width in most cases open-fullscreen + open-floating default width is still not supported in this commit. --- src/window/unmapped.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/window/unmapped.rs') 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, + /// Resolved floating default width for this window. + /// + /// `None` means that the window will pick its own width. + floating_width: Option, + /// Whether the window should open full-width. is_full_width: bool, -- cgit