/[emacs]/emacs/src/macterm.c
ViewVC logotype

Diff of /emacs/src/macterm.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by akochoi, Sun Aug 4 19:29:06 2002 UTC revision 1.15 by akochoi, Sun Aug 11 00:26:24 2002 UTC
# Line 366  extern XrmDatabase x_load_resources P_ ( Line 366  extern XrmDatabase x_load_resources P_ (
366    
367  extern Lisp_Object x_icon_type P_ ((struct frame *));  extern Lisp_Object x_icon_type P_ ((struct frame *));
368    
369    extern int inhibit_window_system;
370    
371  #if __MRC__  #if __MRC__
372  QDGlobals qd;  /* QuickDraw global information structure.  */  QDGlobals qd;  /* QuickDraw global information structure.  */
# Line 13405  mac_term_init (display_name, xrm_option, Line 13406  mac_term_init (display_name, xrm_option,
13406    return dpyinfo;    return dpyinfo;
13407  }  }
13408    
13409    #ifdef MAC_OSX
13410    void MakeMeTheFrontProcess ()
13411    {
13412      ProcessSerialNumber psn;
13413      OSErr err;
13414      
13415      err = GetCurrentProcess (&psn);
13416      if (err == noErr)
13417        (void) SetFrontProcess (&psn);
13418    }
13419    #endif /* MAC_OSX */
13420    
13421  /* Set up use of X before we make the first connection.  */  /* Set up use of X before we make the first connection.  */
13422    
13423  static struct redisplay_interface x_redisplay_interface =  static struct redisplay_interface x_redisplay_interface =
# Line 13514  mac_initialize () Line 13527  mac_initialize ()
13527  #endif  #endif
13528    
13529    DisableMenuCommand (NULL, kHICommandQuit);    DisableMenuCommand (NULL, kHICommandQuit);
13530    
13531      if (!inhibit_window_system)
13532        MakeMeTheFrontProcess ();
13533  #endif  #endif
13534  }  }
13535    

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26