diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-02-23 14:24:39 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-02-23 14:24:39 +0400 |
| commit | 6a587245eb79a0e054c7283eb2a97d694482e834 (patch) | |
| tree | c0359757539c59f4cdfd1e0412c383788e67676c /src/window.rs | |
| parent | 2317021a7c4a7296606533d38f1fdce96826f7dc (diff) | |
| download | niri-6a587245eb79a0e054c7283eb2a97d694482e834.tar.gz niri-6a587245eb79a0e054c7283eb2a97d694482e834.tar.bz2 niri-6a587245eb79a0e054c7283eb2a97d694482e834.zip | |
Add open-maximized window rule
Diffstat (limited to 'src/window.rs')
| -rw-r--r-- | src/window.rs | 6 |
1 files changed, 6 insertions, 0 deletions
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<ColumnWidth>, + /// 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<String>, + + /// Whether the window should open full-width. + pub open_maximized: Option<bool>, } impl Unmapped { |
