[builtins] don't activate an already active window
Merge pull request #5081 from xhaggi/dont-activate-an-active-window

[builtins] don't activate an already active window