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

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

bug#13225: 24.3.50; Non-selected window has not mode-line-inactive face


From: martin rudalics
Subject: bug#13225: 24.3.50; Non-selected window has not mode-line-inactive face
Date: Fri, 21 Dec 2012 10:16:02 +0100

>> So we can be sure that redisplay now nowhere changes the selected frame
>> or the selected window?
>
> No: it is still changed while computing the mode-line,

... and this is good because otherwise Lisp code would have problems to
get the window whose mode line shall be displayed, I presume ...

> but that's been
> the case for a long time now (the recent change in this area is to not
> only change selected_frame and selected_window but also
> selected_frame->selected_window so that we preserve the invariant that
> selected_windows = selected_frame->selected_window).

... and while we compute the mode line we don't care whether
selected_frame->selected_window equals selected_window.  Wouldn't it be
more correct to handle this as in run_window_configuration_change_hook?

martin





reply via email to

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