On Wed, Dec 13, 2017 at 3:49 PM, Alan Third wrote: > On Tue, Dec 12, 2017 at 06:02:38PM -0500, Bob Weiner wrote: > > (defun test () > > (let ((depress-frame (selected-frame)) > > (release-frame (make-frame))) > > (select-frame-set-input-focus depress-frame) > > ;; On MacOS, depress-frame is never raised to the top > > ;; of the frame stack and never is given input focus > > ;; after release-frame is created. > > (sit-for 4) > > (select-frame-set-input-focus release-frame))) > > > > (test) > > > > ---------- > > I feel I’m being a bit dim here, but depress-frame is already raised > and focused when I run this in the scratch buffer, so I’m unsure how > to try replicating it. > ​On macOS for me, the (make-frame) call puts the new frame at the top of the stack and sets input focus there for me, so depress-frame is under that. Bob