Show workspace only after initializing it

This commit is contained in:
Antonio Scandurra 2023-05-19 19:35:00 +02:00
parent 5ff49bde31
commit 5a8fb18c20
7 changed files with 10 additions and 2 deletions

View file

@ -173,6 +173,7 @@ pub struct WindowOptions<'a> {
pub titlebar: Option<TitlebarOptions<'a>>,
pub center: bool,
pub focus: bool,
pub show: bool,
pub kind: WindowKind,
pub is_movable: bool,
pub screen: Option<Rc<dyn Screen>>,
@ -376,6 +377,7 @@ impl<'a> Default for WindowOptions<'a> {
}),
center: false,
focus: true,
show: true,
kind: WindowKind::Normal,
is_movable: true,
screen: None,