]> git.eshelyaron.com Git - emacs.git/commit
Add no-accept-focus and frame-list-z-order to NS port
authorAlan Third <alan@idiocy.org>
Thu, 20 Apr 2017 14:25:56 +0000 (15:25 +0100)
committerAlan Third <alan@idiocy.org>
Fri, 21 Apr 2017 19:44:35 +0000 (20:44 +0100)
commitd812d20fbc3e1eff0f10443baed801adda9031cd
tree184f53fd04d4b5cae0bfe5297bd904043e9db3b9
parenta3b8618d79657af0d7fea9cb6fd914ccf0f67849
Add no-accept-focus and frame-list-z-order to NS port

* lisp/frame.el (frame-list-z-order): Add NS.
* src/nsfns.m: Add x_set_no_accept_focus to handler struct.
(Fx_create_frame): Handle no-accept-focus parameter.
(ns_window_is_ancestor):
(Fns_frame_list_z_order): New functions.
* src/nsterm.m (x_set_no_accept_focus): New function.
(initFrameFromEmacs): Use EmacsWindow instead of EmacsFSWindow for
non-fullscreen windows.
(EmacsWindow:canBecomeKeyWindow): New function.
lisp/frame.el
src/nsfns.m
src/nsterm.h
src/nsterm.m