shell/tiling: Make gaps configurable
This commit is contained in:
parent
4bf2c8df79
commit
b53e5cae6e
4 changed files with 53 additions and 17 deletions
|
|
@ -63,9 +63,9 @@ pub enum ManagedState {
|
|||
}
|
||||
|
||||
impl Workspace {
|
||||
pub fn new(handle: WorkspaceHandle, tiling_enabled: bool) -> Workspace {
|
||||
pub fn new(handle: WorkspaceHandle, tiling_enabled: bool, gaps: (u8, u8)) -> Workspace {
|
||||
Workspace {
|
||||
tiling_layer: TilingLayout::new(),
|
||||
tiling_layer: TilingLayout::new(gaps),
|
||||
floating_layer: FloatingLayout::new(),
|
||||
tiling_enabled,
|
||||
fullscreen: HashMap::new(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue