diff options
author | Ben Bridle <bridle.benjamin@gmail.com> | 2025-07-03 15:04:07 +1200 |
---|---|---|
committer | Ben Bridle <bridle.benjamin@gmail.com> | 2025-07-03 15:04:07 +1200 |
commit | 04cefafd15b6fb5324857c275c70295322f82dd4 (patch) | |
tree | 818a848c96b186df3710166d922cad5d7f4e0f59 /src/window_builder.rs | |
parent | 495beeb436322a5d447e80858f5c37412af5d063 (diff) | |
download | phosphor-04cefafd15b6fb5324857c275c70295322f82dd4.zip |
Allow windows to be created invisible
Diffstat (limited to 'src/window_builder.rs')
-rw-r--r-- | src/window_builder.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window_builder.rs b/src/window_builder.rs index 21787e6..6761b8d 100644 --- a/src/window_builder.rs +++ b/src/window_builder.rs @@ -10,6 +10,7 @@ pub struct WindowBuilder { pub cursor: Option<CursorIcon>, pub icon: Option<Icon>, pub fullscreen: bool, + pub visible: bool, } impl WindowBuilder { @@ -23,6 +24,7 @@ impl WindowBuilder { cursor: None, icon: None, fullscreen: false, + visible: true, } } } |