tiling: fix workspaces
This commit is contained in:
parent
aab52b502c
commit
936356b312
4 changed files with 29 additions and 25 deletions
|
|
@ -51,9 +51,9 @@ pub trait Layout {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn new_default_layout() -> Box<dyn Layout> {
|
||||
pub fn new_default_layout(idx: u8) -> Box<dyn Layout> {
|
||||
Box::new(combined::Combined::new(
|
||||
tiling::TilingLayout::new(),
|
||||
tiling::TilingLayout::new(idx),
|
||||
floating::FloatingLayout,
|
||||
|app_id, title| {
|
||||
slog_scope::debug!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue