minibuffer-auto-raise

minibuffer-auto-raise is a variable defined in `C source code'.
Its value is
nil


Documentation:
Non-nil means entering the minibuffer raises the minibuffer's frame.
Some uses of the echo area also raise that frame (since they use it too).

You can customize this variable.