This PR prevents posframe from running if the currently selected frame is a minibuffer-only frame and also aborts when window-resize errors occur.
I've recently been trying to use Emacs (or more accurately Vertico) as a launcher like dmenu. However, I also use vertico-posframe to display Vertico candidates in normal Emacs frames.
I can achieve this using make-frame with the option (minibuffer . only). However, we certainly don't want a posframe inside a minibuffer.
This PR prevents
posframe
from running if the currently selected frame is a minibuffer-only frame and also aborts whenwindow-resize
errors occur.I've recently been trying to use Emacs (or more accurately Vertico) as a launcher like dmenu. However, I also use
vertico-posframe
to display Vertico candidates in normal Emacs frames.I can achieve this using
make-frame
with the option(minibuffer . only)
. However, we certainly don't want a posframe inside a minibuffer.