bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21864: 25.0.50; `raise-frame' steals focus some time after being cal


From: martin rudalics
Subject: bug#21864: 25.0.50; `raise-frame' steals focus some time after being called if the frame was iconified
Date: Sun, 08 Nov 2015 19:24:33 +0100

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

martin






reply via email to

[Prev in Thread] Current Thread [Next in Thread]