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.
This commit is contained in:
Martin Rudalics 2015-11-07 08:51:28 +01:00
parent 60959975b1
commit e5a98644f8

View file

@ -11551,9 +11551,10 @@ x_consider_frame_title (Lisp_Object frame)
{
struct frame *f = XFRAME (frame);
if (FRAME_WINDOW_P (f)
|| FRAME_MINIBUF_ONLY_P (f)
|| f->explicit_name)
if ((FRAME_WINDOW_P (f)
|| FRAME_MINIBUF_ONLY_P (f)
|| f->explicit_name)
&& NILP (Fframe_parameter (frame, Qtooltip)))
{
/* Do we have more than one visible frame on this X display? */
Lisp_Object tail, other_frame, fmt;