Added a way to filter windows without modifying the wm class itself