Mercurial > emacs
diff src/w32fns.c @ 47731:755c4233cfba
* frame.c (Vdelete_frame_functions): New variable.
(syms_of_frame): Initialize and defvar it.
(Fdelete_frame): Use it instead of delete-frame-hook. Don't run
it when frame's `tooltip' parameter is non-nil.
* xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t.
* w32fns.c (x_create_tip_frame): Likewise
* macfns.c (x_create_tip_frame): Likewise.
author | John Paul Wallington <jpw@pobox.com> |
---|---|
date | Wed, 02 Oct 2002 08:28:17 +0000 |
parents | 6c6dca37308c |
children | 080b4586492b |
line wrap: on
line diff
--- a/src/w32fns.c Tue Oct 01 20:27:23 2002 +0000 +++ b/src/w32fns.c Wed Oct 02 08:28:17 2002 +0000 @@ -13812,6 +13812,11 @@ SET_FRAME_WIDTH (f, 0); change_frame_size (f, height, width, 1, 0, 0); + /* Add `tooltip' frame parameter's default value. */ + if (NILP (Fframe_parameter (frame, intern ("tooltip")))) + Fmodify_frame_parameters (frame, Fcons (Fcons (intern ("tooltip"), Qt), + Qnil)); + /* Set up faces after all frame parameters are known. This call also merges in face attributes specified for new frames.