GNU bug report logs - #21864
25.0.50; `raise-frame' steals focus some time after being called if the frame was iconified

Previous Next

Package: emacs;

Reported by: Artur Malabarba <bruce.connor.am <at> gmail.com>

Date: Sun, 8 Nov 2015 18:01:02 UTC

Severity: normal

Tags: notabug

Found in version 25.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Artur Malabarba <bruce.connor.am <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 21864 <at> debbugs.gnu.org
Subject: bug#21864: 25.0.50; `raise-frame' steals focus some time after being called if the frame was iconified
Date: Sun, 8 Nov 2015 23:49:25 +0000
[Message part 1 (text/plain, inline)]
On 8 Nov 2015 6:24 pm, "martin rudalics" <rudalics <at> gmx.at> wrote:
>
> >      (let ((cur (selected-frame)))
> >        (raise-frame other-frame)
> >        (select-frame cur))
> >
> > Result: Even though that snippet ends with `(select-frame cur)', focus
> > is left on `other-frame'.
>
> ‘raise-frame’ requires an interaction with the window manager.  If the
> latter decides that raising a minimized frame will give focus to that
> frame that's it.
>
> You might want to look into bug#745 where you can find many references
> to window manager behaviors and older discussions on emacs-devel.

Yeah, that makes sense. Thanks for the reference.
I guess we can close this then.
[Message part 2 (text/html, inline)]

This bug report was last modified 9 years and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.