Active window selection tool