aboutsummaryrefslogtreecommitdiffstats
path: root/src/macfns.c
diff options
context:
space:
mode:
authorJohn Paul Wallington2002-10-02 08:28:17 +0000
committerJohn Paul Wallington2002-10-02 08:28:17 +0000
commitcd1d850fd1eef0e98a018c224ed2fe4852c17de3 (patch)
treea4f6b7270f76db85c354e95ce2fe591abefc4d90 /src/macfns.c
parenta1b4049dc24f9be1036b66a95c99c6257b8551f6 (diff)
downloademacs-cd1d850fd1eef0e98a018c224ed2fe4852c17de3.tar.gz
emacs-cd1d850fd1eef0e98a018c224ed2fe4852c17de3.zip
* 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.
Diffstat (limited to 'src/macfns.c')
-rw-r--r--src/macfns.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/macfns.c b/src/macfns.c
index 49e4aad78ca..f1e42d17aec 100644
--- a/src/macfns.c
+++ b/src/macfns.c
@@ -9471,6 +9471,11 @@ x_create_tip_frame (dpyinfo, parms)
9471 f->height = 0; 9471 f->height = 0;
9472 SET_FRAME_WIDTH (f, 0); 9472 SET_FRAME_WIDTH (f, 0);
9473 change_frame_size (f, height, width, 1, 0, 0); 9473 change_frame_size (f, height, width, 1, 0, 0);
9474
9475 /* Add `tooltip' frame parameter's default value. */
9476 if (NILP (Fframe_parameter (frame, intern ("tooltip"))))
9477 Fmodify_frame_parameters (frame, Fcons (Fcons (intern ("tooltip"), Qt),
9478 Qnil));
9474 9479
9475 f->no_split = 1; 9480 f->no_split = 1;
9476 9481