Often, when doing things like switching buffers, the minibuffer will grow beyond its normal height of 1. This has been bugging me lately, so I sought out a way to fix it. This may not be the best way, but setting this:

(setq resize-mini-windows nil)

seems to do the trick. Note that its simply truncates whatever text is in the minibuffer, but I’m OK with that. For now.