From 6a587245eb79a0e054c7283eb2a97d694482e834 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 23 Feb 2024 14:24:39 +0400 Subject: Add open-maximized window rule --- src/window.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/window.rs') diff --git a/src/window.rs b/src/window.rs index 68d1e3a0..ce62d07b 100644 --- a/src/window.rs +++ b/src/window.rs @@ -29,6 +29,9 @@ pub enum InitialConfigureState { /// `None` means that the window will pick its own width. width: Option, + /// Whether the window should open full-width. + is_full_width: bool, + /// Output to open this window on. /// /// This can be `None` in cases like: @@ -52,6 +55,9 @@ pub struct ResolvedWindowRules { /// Output to open this window on. pub open_on_output: Option, + + /// Whether the window should open full-width. + pub open_maximized: Option, } impl Unmapped { -- cgit