Subject: bug#56305: 29.0.50; 'yes-or-no-p' deselects minibuffer frame

From: Eli Zaretskii <[email-masked]>
Date: Wed, 29 Jun 2022 22:10:49 +0300

> Date: Wed, 29 Jun 2022 19:54:44 +0200
> From: martin rudalics <[email-masked]>
> 
> With emacs -Q --load "~/mini.el" which contains the three lines
> 
> (setq use-dialog-box nil)
> (setq default-frame-alist '((minibuffer . nil)))
> (shell)
> 
> and type C-x C-c in the minibuffer frame.  This asks a 'yes-or-no-p'
> question in the minibuffer frame but selects the *Process List* window
> on the other frame.
> 
> FWICT this worked correctly until Emacs 26, was broken in Emacs 27,
> returned to work in Emacs 28.1 and is now broken on both, release and
> master branch, again.

Alan, could you please look into this?  Emacs 28.2 is about to start
pretest.

Thanks.