GNU bug report logs - #13225
24.3.50; Non-selected window has not mode-line-inactive face

Previous Next

Package: emacs;

Reported by: martin rudalics <rudalics <at> gmx.at>

Date: Wed, 19 Dec 2012 08:13:02 UTC

Severity: normal

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #68 received at 13225 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 13225 <at> debbugs.gnu.org
Subject: Re: 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




This bug report was last modified 12 years and 196 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.