From 4acaaa2b244107b14735e8c917a3dbce1b70fb64 Mon Sep 17 00:00:00 2001 From: Adrian Robert Date: Fri, 18 Sep 2009 23:36:29 +0000 Subject: [PATCH] * nsfns.m (x-focus-frame): Activate the app first. --- src/ChangeLog | 1 + src/nsfns.m | 1 + 2 files changed, 2 insertions(+) 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; } -- 2.39.2