summaryrefslogtreecommitdiff
path: root/src/nsterm.h
diff options
context:
space:
mode:
authorAlan Third <alan@idiocy.org>2017-06-11 17:07:28 +0100
committerAlan Third <alan@idiocy.org>2017-06-12 18:51:57 +0100
commit0f24ad7b81b5f5920f165ada06490cea5194b109 (patch)
treecd856405a0e9d8607220af86a561050340890f4c /src/nsterm.h
parent6b9618e81314fb43bde3c0a57bb3b701cdd0ee88 (diff)
downloademacs-0f24ad7b81b5f5920f165ada06490cea5194b109.tar.gz
Add no-focus-on-map to NS build (bug#25408)
* src/nsfns.m (ns_frame_parm_handlers): Add x_set_no_focus_on_map. (x-create-frame): Check for no-focus-on-map. * src/nsterm.h (x_set_no_focus_on_map): New function. * src/nsterm.m (x_set_no_focus_on_map): New function. (ns_raise_frame): Add parameter for specifying whether to focus the frame. (ns_frame_raise_lower): (x_make_frame_visible): Handle new parameter for ns_raise_frame.
Diffstat (limited to 'src/nsterm.h')
-rw-r--r--src/nsterm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nsterm.h b/src/nsterm.h
index f75e3759e4f..bed0b92c796 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -1218,6 +1218,8 @@ extern void x_set_undecorated (struct frame *f, Lisp_Object new_value,
Lisp_Object old_value);
extern void x_set_parent_frame (struct frame *f, Lisp_Object new_value,
Lisp_Object old_value);
+extern void x_set_no_focus_on_map (struct frame *f, Lisp_Object new_value,
+ Lisp_Object old_value);
extern void x_set_no_accept_focus (struct frame *f, Lisp_Object new_value,
Lisp_Object old_value);
extern void x_set_z_group (struct frame *f, Lisp_Object new_value,