aboutsummaryrefslogtreecommitdiff
path: root/src/window.rs
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-02-24 08:44:21 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-02-24 08:44:21 +0400
commitab9d1aab4ed13027896a80200775e5679fca9539 (patch)
tree42b5500e74b0fe7fb657c62e404b8a832d7b15d7 /src/window.rs
parent506dcd99d7fafbe94f0444aed46c2f89f29612da (diff)
downloadniri-ab9d1aab4ed13027896a80200775e5679fca9539.tar.gz
niri-ab9d1aab4ed13027896a80200775e5679fca9539.tar.bz2
niri-ab9d1aab4ed13027896a80200775e5679fca9539.zip
Add open-fullscreen window rule
Diffstat (limited to 'src/window.rs')
-rw-r--r--src/window.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window.rs b/src/window.rs
index ce62d07b..a5023afa 100644
--- a/src/window.rs
+++ b/src/window.rs
@@ -58,6 +58,9 @@ pub struct ResolvedWindowRules {
/// Whether the window should open full-width.
pub open_maximized: Option<bool>,
+
+ /// Whether the window should open fullscreen.
+ pub open_fullscreen: Option<bool>,
}
impl Unmapped {