]> git.eshelyaron.com Git - emacs.git/commit
Fix recalculation of `icon-title-format' after a frame is iconified
authorPo Lu <luangruo@yahoo.com>
Thu, 9 Jun 2022 13:48:19 +0000 (21:48 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 9 Jun 2022 13:50:37 +0000 (21:50 +0800)
commite99f41f03a97641ee05ba4a27f8b91c190f55df1
treeb8bb2ab447143124982557c01875c327e85f47dc
parent39d2efbfae1dc081258a764f3c47f5f492f38fec
Fix recalculation of `icon-title-format' after a frame is iconified

Previously it would only happen upon the next mode line
redisplay, meaning that just pressing C-z would not update the
implicit title, since C-z doesn't cause a redisplay.

* src/dispextern.h: Update prototypes.
* src/frame.h (SET_FRAME_ICONIFIED): De-slugify.  Call
`gui_consider_frame_title', since `icon-title-format' might be
different from the current frame title.
* src/xdisp.c (gui_consider_frame_title): Export (also in
dispextern.h).  (bug#55850)
src/dispextern.h
src/frame.h
src/xdisp.c