GNU bug report logs - #51
frame-title-format is built with wrong selected-frame

Previous Next

Package: emacs;

Reported by: Damon Permezel <permezel <at> mac.com>

Date: Tue, 11 Mar 2008 17:55:03 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 51-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 51-done <at> debbugs.gnu.org
Subject: frame-title-format is built with wrong selected-frame
Date: Wed, 19 Mar 2008 11:04:00 -0400
I believe this is now fixed for Emacs-23, so you can use
`selected-window' and `selected-frame' in your `frame-title-format' and
get the right window/frame out of it.

2008-03-19  Stefan Monnier  <monnier <at> iro.umontreal.ca>

	* xdisp.c (format_mode_line_unwind_data): Add window argument.
	(unwind_format_mode_line): Restore selected window.
	(x_consider_frame_title, Fformat_mode_line): Set selected window.


-- Stefan




This bug report was last modified 17 years and 124 days ago.

Previous Next


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