summaryrefslogtreecommitdiff
path: root/src/nsterm.h
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-05-14 11:29:43 +0800
committerPo Lu <luangruo@yahoo.com>2022-05-14 11:30:29 +0800
commit09e86785ce2dae9176f4122c399c61b51240cfec (patch)
tree55df22f34721df629fd1711e477b07de2e60a327 /src/nsterm.h
parent949180b8ab4a76ae46389fed9e210d151b328a2a (diff)
downloademacs-09e86785ce2dae9176f4122c399c61b51240cfec.tar.gz
Implement non-system tooltips on NS
* src/nsfns.m (unwind_create_frame): Return Lisp_Object like on X. (do_unwind_create_frame): New function. (Fx_create_frame): Adjust accordingly. (compute_tip_xy): Fix coding style. (unwind_create_tip_frame, ns_create_tip_frame): New functions. (x_hide_tip, Fx_show_tip, Fx_hide_tip): Create and hide actual tooltip frames. (syms_of_nsfns): New defvar `x-max-tooltip-size' and staticpros. * src/nsterm.m (ns_set_window_size): Clean up coding style. ([EmacsWindow initWithEmacsFrame:]): ([EmacsWindow initWithEmacsFrame:fullscreen:screen:]): Handle tooltip frames.
Diffstat (limited to 'src/nsterm.h')
-rw-r--r--src/nsterm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nsterm.h b/src/nsterm.h
index ce2355e6b1c..1135225e7b1 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -1176,6 +1176,7 @@ extern size_t ns_image_size_in_bytes (void *img);
/* This in nsterm.m */
extern float ns_antialias_threshold;
extern void ns_make_frame_visible (struct frame *f);
+extern void ns_make_frame_invisible (struct frame *f);
extern void ns_iconify_frame (struct frame *f);
extern void ns_set_undecorated (struct frame *f, Lisp_Object new_value,
Lisp_Object old_value);