take focus signal into account

When having multiple windows of the same application
we need to be notified of focus changes,  so we can update
the title.