Add no-focus-on-map to NS build (bug#25408)
commit0f24ad7b81b5f5920f165ada06490cea5194b109
authorAlan Third <alan@idiocy.org>
Sun, 11 Jun 2017 16:07:28 +0000 (11 17:07 +0100)
committerAlan Third <alan@idiocy.org>
Mon, 12 Jun 2017 17:51:57 +0000 (12 18:51 +0100)
treecd856405a0e9d8607220af86a561050340890f4c
parent6b9618e81314fb43bde3c0a57bb3b701cdd0ee88
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.
src/nsfns.m
src/nsterm.h
src/nsterm.m