From: Adrian Robert Date: Fri, 18 Sep 2009 23:36:29 +0000 (+0000) Subject: * nsfns.m (x-focus-frame): Activate the app first. X-Git-Tag: emacs-pretest-23.1.90~1243 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4acaaa2b244107b14735e8c917a3dbce1b70fb64;p=emacs.git * nsfns.m (x-focus-frame): Activate the app first. --- diff --git a/src/ChangeLog b/src/ChangeLog index ad7ab0b6544..dd4d519c54c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -20,6 +20,7 @@ * nsfns.m (x_get_string_resource): Ape just-previous changes to other platform versions. Drop support for emacs-20-style face specs. (x-close-connection): Drop PSFlush() under OS X. + (x-focus-frame): Activate the app first. 2009-09-17 Juanma Barranquero diff --git a/src/nsfns.m b/src/nsfns.m index ab77a12b2ac..d6e1672b587 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -1365,6 +1365,7 @@ FRAME nil means use the selected frame. */) { EmacsView *view = FRAME_NS_VIEW (f); BLOCK_INPUT; + [NSApp activateIgnoringOtherApps: YES]; [[view window] makeKeyAndOrderFront: view]; UNBLOCK_INPUT; }