def clone(self, group): c = Layout.clone(self, group) # These are mutable c.stacks = [_WinStack() for i in self.stacks] for stack in c.stacks: if self.autosplit: stack.split = True return c
def clone(self, group): c = Layout.clone(self, group) # These are mutable c.stacks = [_WinStack() for i in self.stacks] return c
def clone(self, group): c = Layout.clone(self, group) c.clients = [] return c
def clone(self, group): c = Layout.clone(self, group) c.windows = [] return c
def clone(self, group): res = Layout.clone(self, group) res._slice = self._slice.clone(group) res._fallback = self._fallback.clone(group) res._window = None return res
def clone(self, group): c = Layout.clone(self, group) c._focused = None c._panel = None c._tree = Root(self.sections) return c