def layout_all(self, warp=False, focus=True):
        """Layout the floating layer, then the current layout.

        Parameters
        ==========
        focus :
            If we have have a current_window give it focus, optionally moving warp
            to it.
        """
        if self.screen and self.windows:
            with self.qtile.core.masked():
                normal = [x for x in self.windows if not x.floating]
                floating = [x for x in self.windows if x.floating and not x.minimized]
                screen_rect = self.screen.get_rect()
                if normal:
                    try:
                        self.layout.layout(normal, screen_rect)
                    except Exception:
                        logger.exception("Exception in layout %s", self.layout.name)
                if floating:
                    self.floating_layout.layout(floating, screen_rect)
                if focus:
                    if self.current_window and self.screen == self.qtile.current_screen:
                        self.current_window.focus(warp)
                    else:
                        # Screen has lost focus so we reset record of focused window so
                        # focus will warp when screen is focused again
                        self.last_focused = None
Layout the floating layer, then the current layout.

        Parameters
        ==========
        focus :
            If we have have a current_window give it focus, optionally moving warp
            to it.
        
libqtile/group.py