#NEWLINE# def layoutAll( self , warp = False ) : #NEWLINE# #INDENT# 'Layout the floating layer, then the current layout.\n\n        If we have have a currentWindow give it focus, optionally moving warp\n        to it.\n        ' #NEWLINE# if ( self . screen and len ( self . windows ) ) : #NEWLINE# #INDENT# with self . disableMask ( xcffib . xproto . EventMask . EnterWindow ) : #NEWLINE# #INDENT# normal = [ x for x in self . windows if ( not x . floating ) ] #NEWLINE# floating = [ x for x in self . windows if ( x . floating and ( not x . minimized ) ) ] #NEWLINE# screen = self . screen . get_rect ( ) #NEWLINE# if normal : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . layout . layout ( normal , screen ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# logger . exception ( 'Exception in layout %s' , self . layout . name ) #NEWLINE# #UNINDENT# #UNINDENT# if floating : #NEWLINE# #INDENT# self . floating_layout . layout ( normal , screen ) #NEWLINE# #UNINDENT# if ( self . currentWindow and ( self . screen == self . qtile . currentScreen ) ) : #NEWLINE# #INDENT# self . currentWindow . focus ( warp )