diff src/nsfns.m @ 105099:bb1e824539f2

* nsfns.m (x-focus-frame): Activate the app first.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Fri, 18 Sep 2009 23:36:29 +0000
parents ec0d4293e991
children 4d1103e3ad15
line wrap: on
line diff
--- a/src/nsfns.m	Fri Sep 18 21:59:25 2009 +0000
+++ b/src/nsfns.m	Fri Sep 18 23:36:29 2009 +0000
@@ -1365,6 +1365,7 @@
     {
       EmacsView *view = FRAME_NS_VIEW (f);
       BLOCK_INPUT;
+      [NSApp activateIgnoringOtherApps: YES];
       [[view window] makeKeyAndOrderFront: view];
       UNBLOCK_INPUT;
     }