Open nickw opened 12 years ago
Just came across an issue trying to use this with TotalTerminal. It's complaining about active_window being nil. I changed:
window.properties_.get[:frontmost] rescue false
to
window.properties_.get[:frontmost] rescue windows.first
and it's happy now. What do you think of this change - should I create a pull request for it?
@nickw yeah send a pull request. Did you see if it breaks anything else? I'll check it again too when you sent the request.
Just came across an issue trying to use this with TotalTerminal. It's complaining about active_window being nil. I changed:
window.properties_.get[:frontmost] rescue false
to
window.properties_.get[:frontmost] rescue windows.first
and it's happy now. What do you think of this change - should I create a pull request for it?