[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/macterm.c,v
From: |
YAMAMOTO Mitsuharu |
Subject: |
[Emacs-diffs] Changes to emacs/src/macterm.c,v |
Date: |
Tue, 13 Feb 2007 08:28:39 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: YAMAMOTO Mitsuharu <mituharu> 07/02/13 08:28:39
Index: macterm.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/macterm.c,v
retrieving revision 1.203
retrieving revision 1.204
diff -u -b -r1.203 -r1.204
--- macterm.c 21 Jan 2007 04:18:15 -0000 1.203
+++ macterm.c 13 Feb 2007 08:28:39 -0000 1.204
@@ -11640,19 +11640,6 @@
}
-#ifdef MAC_OSX
-void
-MakeMeTheFrontProcess ()
-{
- ProcessSerialNumber psn;
- OSErr err;
-
- err = GetCurrentProcess (&psn);
- if (err == noErr)
- (void) SetFrontProcess (&psn);
-}
-#endif /* MAC_OSX */
-
static void
init_menu_bar ()
{
@@ -11803,7 +11790,11 @@
init_apple_event_handler ();
if (!inhibit_window_system)
- MakeMeTheFrontProcess ();
+ {
+ static const ProcessSerialNumber psn = {0, kCurrentProcess};
+
+ SetFrontProcess (&psn);
+ }
#endif
#endif
- [Emacs-diffs] Changes to emacs/src/macterm.c,v,
YAMAMOTO Mitsuharu <=