[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about minibuffer and child frames (Posframe)
From: |
Gerd Möllmann |
Subject: |
Re: Question about minibuffer and child frames (Posframe) |
Date: |
Wed, 02 Oct 2024 20:48:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
martin rudalics <rudalics@gmx.at> writes:
>>> The modeline of the "Completions* window seems to have the same
>>> background as the modeline of the normal frame's *scratch* window.
>>> Doesn't that hint at redisplay believing that both windows are the
>>> selected one?
>>
>> Probably. They are the (frame-selected-window) of their respective
>> frames. I guess that has previously not been possible to see on a tty.
>> Cab't check at the moment--I've made me a todo to check if xdisp.c does
>> this differently on ttys.
>
> At any time there's only one selected window. When it changes,
> redisplay is told to update all possibly involved frames and update the
> background of the mode line of the selected and previously selected
> windows appropriately.
I've made me a todo entry for that. One thing after the other :-).
(And for Alacritty users reading this: 0.13.2 (1) KKP support is
currently broken for me on macOS 15.)
>> Got an idea while eating: Does Emacs get a window system focus event
>> when we unhide a frame? Or something like it? And do we select the frame
>> then maybe?
>
> When that frame gets focus by the WM; it depends on the WM's settings.
> A frame can get focused by making it, moving the mouse over it,
> clicking with the mouse into it, Alt-tabbing to it, or by having an
> application ask to give it focus. I suppose that Emacs has the
> invariant that the focused frame is also the selected one even if it is
> hidden. In either case, for a tty we have to do the "focusing"
> ourselves.
Yeah, if that's not the current problem, there lie dragons. Shit. Did I
mention that I just wanted Corfu and Posframe?
- Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/02
- Re: Question about minibuffer and child frames (Posframe), Po Lu, 2024/10/02
- Re: Question about minibuffer and child frames (Posframe), martin rudalics, 2024/10/02
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/02
- Re: Question about minibuffer and child frames (Posframe), martin rudalics, 2024/10/02
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/02
- Re: Question about minibuffer and child frames (Posframe), martin rudalics, 2024/10/02
- Re: Question about minibuffer and child frames (Posframe),
Gerd Möllmann <=
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/03
- Re: Question about minibuffer and child frames (Posframe), martin rudalics, 2024/10/03
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/03
- Re: Question about minibuffer and child frames (Posframe), martin rudalics, 2024/10/03
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/03
- Re: Question about minibuffer and child frames (Posframe), martin rudalics, 2024/10/03
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/03
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/04
- Re: Question about minibuffer and child frames (Posframe), martin rudalics, 2024/10/04
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/04