]> git.eshelyaron.com Git - emacs.git/commitdiff
* nsfns.m (x-focus-frame): Activate the app first.
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Fri, 18 Sep 2009 23:36:29 +0000 (23:36 +0000)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Fri, 18 Sep 2009 23:36:29 +0000 (23:36 +0000)
src/ChangeLog
src/nsfns.m

index ad7ab0b65440e6dc8ecde5594e5bbf75dcd602e0..dd4d519c54c6c53fcb99c2e94f4742570506168c 100644 (file)
@@ -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  <lekktu@gmail.com>
 
index ab77a12b2ac7204a57a12608fa56ef240ecd1779..d6e1672b587be541d96681559481e1cc2b7ffbff 100644 (file)
@@ -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;
     }