aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Rudalics2015-11-07 08:51:28 +0100
committerMartin Rudalics2015-11-07 08:51:28 +0100
commite5a98644f8afd29bc105270bacb09fe9044957c4 (patch)
treedbbf7afaf4c69c4c57b87ffdd5127c2bf2a96401 /src
parent60959975b1b44ad9c4a4019a0a203c8a3bf08fd3 (diff)
downloademacs-e5a98644f8afd29bc105270bacb09fe9044957c4.tar.gz
emacs-e5a98644f8afd29bc105270bacb09fe9044957c4.zip
In x_consider_frame_title don't set title of tooltip frames
* src/xdisp.c (x_consider_frame_title): Return immediately for tooltip frames to avoid displaying empty tooltips.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index f6d63ea702f..dbc2d840d44 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -11551,9 +11551,10 @@ x_consider_frame_title (Lisp_Object frame)
11551{ 11551{
11552 struct frame *f = XFRAME (frame); 11552 struct frame *f = XFRAME (frame);
11553 11553
11554 if (FRAME_WINDOW_P (f) 11554 if ((FRAME_WINDOW_P (f)
11555 || FRAME_MINIBUF_ONLY_P (f) 11555 || FRAME_MINIBUF_ONLY_P (f)
11556 || f->explicit_name) 11556 || f->explicit_name)
11557 && NILP (Fframe_parameter (frame, Qtooltip)))
11557 { 11558 {
11558 /* Do we have more than one visible frame on this X display? */ 11559 /* Do we have more than one visible frame on this X display? */
11559 Lisp_Object tail, other_frame, fmt; 11560 Lisp_Object tail, other_frame, fmt;