Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 28 Sep 2020 15:57:56 +0200

Arthur Miller <[email-masked]> writes:

> When calling
>
>       (select-frame-set-input-focus some-frame)
>
> the frame is raised, but does not recieve the focus.

[...]

> (define-minor-mode pm-minor-mode
>   :keymap (let ((map (make-sparse-keymap)))
>             map))

This isn't valid (lacks a doc string), but after fixing it, I'm unable
to reproduce the bug?  I think?  At least my frame lost focus, but the
other frame never really appeared in any visible sense.

It did something really weird to my Gnome Shell desktop -- even after
closing the Emacs that opened the frames, Gnome Shell insists that
they're there, but not responding.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no