summaryrefslogtreecommitdiff
path: root/src/dispextern.h
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-06-09 21:48:19 +0800
committerPo Lu <luangruo@yahoo.com>2022-06-09 21:50:37 +0800
commite99f41f03a97641ee05ba4a27f8b91c190f55df1 (patch)
treeb8bb2ab447143124982557c01875c327e85f47dc /src/dispextern.h
parent39d2efbfae1dc081258a764f3c47f5f492f38fec (diff)
downloademacs-e99f41f03a97641ee05ba4a27f8b91c190f55df1.tar.gz
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)
Diffstat (limited to 'src/dispextern.h')
-rw-r--r--src/dispextern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index 910f630a50c..c7399ca2998 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -3470,6 +3470,7 @@ extern void expose_frame (struct frame *, int, int, int, int);
extern bool gui_intersect_rectangles (const Emacs_Rectangle *,
const Emacs_Rectangle *,
Emacs_Rectangle *);
+extern void gui_consider_frame_title (Lisp_Object);
#endif /* HAVE_WINDOW_SYSTEM */
extern void note_mouse_highlight (struct frame *, int, int);