From 000edf3233a4c5038abfbea4430b41ce700cb547 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 5 Apr 2003 14:34:06 +0000 Subject: [PATCH] Implement update_special_menu(), which calls mac_adjustmenus() as appropriate. Eventually, mac_adjustmenus() will handle populating the Specials menu. [originally from svn r3058] --- mac/mac.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/mac/mac.c b/mac/mac.c index 1552c2fe..45b4b211 100644 --- a/mac/mac.c +++ b/mac/mac.c @@ -1,4 +1,4 @@ -/* $Id: mac.c,v 1.56 2003/03/25 23:18:59 ben Exp $ */ +/* $Id: mac.c,v 1.57 2003/04/05 14:34:06 ben Exp $ */ /* * Copyright (c) 1999, 2003 Ben Harris * All rights reserved. @@ -779,6 +779,16 @@ void platform_get_x11_auth(char *display, int *proto, /* SGT: I have no idea whether Mac X servers need anything here. */ } +void update_specials_menu(void *frontend) +{ + Session *s = frontend; + WindowPtr front; + + front = mac_frontwindow(); + if (front != NULL && mac_windowsession(front) == s) + mac_adjustmenus(); +} + /* * Local Variables: * c-file-style: "simon"