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: Artur Malabarba
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 18:33:34 +0000

1. On a graphical session, do the following:

    (setq other-frame (make-frame))

2. Iconify (minimize) the newly created frame. 

3. Run the following:

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


For comparison, try something else:

1. (setq other-frame (make-frame))

2. Switch back to the original frame, and make sure it is covering the newly 
created frame.

3. Run the following:

    (let ((cur (selected-frame)))
      (raise-frame other-frame)
      (select-frame cur))

Result: other-frame is correctly raised while focus is correctly left on the 
original frame.





reply via email to

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