shell: Properly propagate tiling state
This commit is contained in:
parent
037a210c90
commit
5a8840b12e
4 changed files with 62 additions and 20 deletions
|
|
@ -61,11 +61,11 @@ pub enum ManagedState {
|
|||
}
|
||||
|
||||
impl Workspace {
|
||||
pub fn new(handle: WorkspaceHandle) -> Workspace {
|
||||
pub fn new(handle: WorkspaceHandle, tiling_enabled: bool) -> Workspace {
|
||||
Workspace {
|
||||
tiling_layer: TilingLayout::new(),
|
||||
floating_layer: FloatingLayout::new(),
|
||||
tiling_enabled: true,
|
||||
tiling_enabled,
|
||||
fullscreen: HashMap::new(),
|
||||
handle,
|
||||
focus_stack: FocusStacks::default(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue