all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* select-frame-set-input-focus fails to raise the frame
@ 2017-12-12 23:02 Bob Weiner
  2017-12-12 23:26 ` Robert Weiner
                   ` (2 more replies)
  0 siblings, 3 replies; 29+ messages in thread
From: Bob Weiner @ 2017-12-12 23:02 UTC (permalink / raw)
  To: emacs-devel

I use:  Editor:      Emacs 27.0.50
        Hyperbole:   7.0.2
        Sys Type:    x86_64-apple-darwin16.7.0
        OS Type:     darwin
        Window Sys:  ns

(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)

----------
If I call test, I get the behavior described in its comments, basically
only release-frame is ever raised and has input focus.  If I edebug
the function, then I get the behavior, I expect with each frame raised
and with input focus, first the depress-frame for 4 seconds and then
release-frame.

Is there something wrong in the test function or is there a problem in
select-frame-set-input-focus?

Bob





^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2017-12-16 20:07 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-12 23:02 select-frame-set-input-focus fails to raise the frame Bob Weiner
2017-12-12 23:26 ` Robert Weiner
2017-12-13 20:47   ` Alan Third
2017-12-13 22:00     ` Robert Weiner
2017-12-13 22:26       ` Alan Third
2017-12-14  0:33         ` Robert Weiner
2017-12-14 21:03           ` Robert Weiner
2017-12-15 15:53             ` Robert Weiner
2017-12-15 16:10               ` Eli Zaretskii
2017-12-15 17:38                 ` Robert Weiner
2017-12-15 20:44                   ` Eli Zaretskii
2017-12-16 13:41                     ` Robert Weiner
2017-12-16 14:39                       ` Eli Zaretskii
2017-12-16 15:06                         ` Robert Weiner
2017-12-16 16:15                           ` Eli Zaretskii
2017-12-16 18:57                             ` Robert Weiner
2017-12-16 19:45                               ` Eli Zaretskii
2017-12-16 20:07                                 ` Robert Weiner
2017-12-16 19:06                             ` martin rudalics
2017-12-16 19:24                               ` Robert Weiner
2017-12-13  8:50 ` martin rudalics
2017-12-13 15:00   ` Robert Weiner
2017-12-13 16:07     ` Stefan Monnier
2017-12-13 16:33       ` Robert Weiner
2017-12-13 19:39         ` Eli Zaretskii
2017-12-13 19:30     ` martin rudalics
2017-12-13 22:14       ` Robert Weiner
2017-12-13 20:49 ` Alan Third
2017-12-13 21:53   ` Robert Weiner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.