Mercurial > emacs
comparison src/macterm.c @ 90751:52a7f3f50b89
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 624-636)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 200-201)
- Merge from emacs--devo--0
- Update from CVS: lisp/nnweb.el (nnweb-google-parse-1): Update parser.
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-171
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 13 Feb 2007 12:14:16 +0000 |
parents | 95d0cdf160ea 3734c13d5900 |
children | dd7c098af727 |
comparison
equal
deleted
inserted
replaced
90750:f8cc067aba62 | 90751:52a7f3f50b89 |
---|---|
11635 bzero (dpyinfo, sizeof (*dpyinfo)); | 11635 bzero (dpyinfo, sizeof (*dpyinfo)); |
11636 } | 11636 } |
11637 } | 11637 } |
11638 | 11638 |
11639 | 11639 |
11640 #ifdef MAC_OSX | |
11641 void | |
11642 MakeMeTheFrontProcess () | |
11643 { | |
11644 ProcessSerialNumber psn; | |
11645 OSErr err; | |
11646 | |
11647 err = GetCurrentProcess (&psn); | |
11648 if (err == noErr) | |
11649 (void) SetFrontProcess (&psn); | |
11650 } | |
11651 #endif /* MAC_OSX */ | |
11652 | |
11653 static void | 11640 static void |
11654 init_menu_bar () | 11641 init_menu_bar () |
11655 { | 11642 { |
11656 #ifdef MAC_OSX | 11643 #ifdef MAC_OSX |
11657 OSStatus err; | 11644 OSStatus err; |
11798 init_coercion_handler (); | 11785 init_coercion_handler (); |
11799 | 11786 |
11800 init_apple_event_handler (); | 11787 init_apple_event_handler (); |
11801 | 11788 |
11802 if (!inhibit_window_system) | 11789 if (!inhibit_window_system) |
11803 MakeMeTheFrontProcess (); | 11790 { |
11791 static const ProcessSerialNumber psn = {0, kCurrentProcess}; | |
11792 | |
11793 SetFrontProcess (&psn); | |
11794 } | |
11804 #endif | 11795 #endif |
11805 #endif | 11796 #endif |
11806 | 11797 |
11807 #if USE_CG_DRAWING | 11798 #if USE_CG_DRAWING |
11808 init_cg_color (); | 11799 init_cg_color (); |