I've followed the advice laid out in How to launch GUI Emacs from command line in OSX? and on the Emacs for mac osx how-to page to setup my GUI emacs so that it grabs focus on startup.
When I run an emacs
standalone session, emacs GUI properly grabs focus and focus is returned to my terminal upon killing my emacs frame.
However, killing my emacsclient
frame (aliased to this script) with C-x C-c
does not return focus to the terminal.
Is there a good way to do this?
update
M-x kill-emacs
does return focus to terminal. So the issue is killing that emacsclient frame specifically.