remove unused cruft
simplify click handling to only differentiate between the root window and client windows.