changeset 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 a28672f040f7
children b27a04ff6876
files src/ChangeLog src/nsfns.m
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Sep 18 21:59:25 2009 +0000
+++ b/src/ChangeLog	Fri Sep 18 23:36:29 2009 +0000
@@ -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>
 
--- 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;
     }