]> code.delx.au - gnu-emacs/commit
Fixed OS X startup crash.
authorAnders Lindgren <andlind@gmail.com>
Wed, 28 Oct 2015 11:11:46 +0000 (12:11 +0100)
committerAnders Lindgren <andlind@gmail.com>
Wed, 28 Oct 2015 11:11:46 +0000 (12:11 +0100)
commit0392e241b844487261d4dfcccc9a442793e0a868
tree92866fdd0bcda1a8d6da52a85623ca78ea4ec2ce
parent934bfb933f4981b2edaa208186e2f8781ab6cb9f
Fixed OS X startup crash.

Input events started to arrive before ns_term_init() was finished.
Solved by blocking input. This also seems to correct the "You
can't open the application "Emacs" because it may be damaged or
incomplete" error issued when double-clicking on the Emacs
application.

* nsterm.m (ns_constrain_all_frames, ns_init_term): Block input.
* nsterm.m (ns_send_appdefined, EmacsApp): Trace output.
src/nsterm.m