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

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

bug#46904: Non-unique windows produced by window-state-put


From: Juri Linkov
Subject: bug#46904: Non-unique windows produced by window-state-put
Date: Mon, 08 Mar 2021 19:18:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> So better to fix callers not to use frame-root-window
>> that is unreliable: sometimes frame-root-window returns
>> an internal window, sometimes a live window:
>
> To emulate `set-window-configuration' via `window-state-put' you have
> to put the state into the root window.

When 'frame-root-window' returns an internal window,
then we don't put the state into the root window anyway,
we create a new window.  The patch does the same for the
case when there is only one window too, so both cases
will provide the same consistent result.





reply via email to

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