#NEWLINE# def mark_floating( self , win , floating ) : #NEWLINE# #INDENT# if floating : #NEWLINE# #INDENT# if ( win in self . floating_layout . find_clients ( self ) ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# for i in self . layouts : #NEWLINE# #INDENT# i . remove ( win ) #NEWLINE# if ( win is self . currentWindow ) : #NEWLINE# #INDENT# i . blur ( ) #NEWLINE# #UNINDENT# #UNINDENT# self . floating_layout . add ( win ) #NEWLINE# if ( win is self . currentWindow ) : #NEWLINE# #INDENT# self . floating_layout . focus ( win ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# self . floating_layout . remove ( win ) #NEWLINE# self . floating_layout . blur ( ) #NEWLINE# for i in self . layouts : #NEWLINE# #INDENT# i . add ( win ) #NEWLINE# if ( win is self . currentWindow ) : #NEWLINE# #INDENT# i . focus ( win ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# self . layoutAll ( )