Commit 94dff98f authored by Jan D's avatar Jan D
Browse files

* xfns.c (Fx_hide_tip): Check FRAME_LIVE_P (f) before calling xg_hide_tooltip.

parent 3a46642b
......@@ -2,6 +2,7 @@
 
* xfns.c (x_defined_color): If USE_GTK, call xg_check_special_colors
first.
(Fx_hide_tip): Check FRAME_LIVE_P (f) before calling xg_hide_tooltip.
 
* gtkutil.h (xg_check_special_colors): Declare.
 
......
......@@ -5237,7 +5237,7 @@ Value is t if tooltip was open, nil otherwise. */)
/* When using system tooltip, tip_frame is the Emacs frame on which
the tip is shown. */
f = XFRAME (frame);
if (xg_hide_tooltip (f))
if (FRAME_LIVE_P (f) && xg_hide_tooltip (f))
frame = Qnil;
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment