#NEWLINE# def match( self , win ) : #NEWLINE# #INDENT# 'Used to default float some windows' #NEWLINE# if ( win . window . get_wm_type ( ) in self . auto_float_types ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# for rule_dict in self . float_rules : #NEWLINE# #INDENT# if win . match ( ** win ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# #UNINDENT# return False