[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45844: 27.1; unwanted raising of other frame when emacs is in the ba
From: |
emacser |
Subject: |
bug#45844: 27.1; unwanted raising of other frame when emacs is in the backgound and switch-to-buffer is used in a dedicated frame |
Date: |
Wed, 13 Jan 2021 18:49:13 +0000 |
>
> And 'pop-to-buffer' makes a new frame because it cannot use the selected
> one, raises that frame and even requests input focus for it.
There is no need to create a new frame, since the other frame exists in my case,
but if pop-to-buffer raises that automatically then it's understandable why
it comes to the foreground.
A possible solution for this can be checking if pop-to-buffer is called
interactively
by the user. If so then it calls select-frame-set-input-focus like now, if not
then it calls select-frame instead.