projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement update_special_menu(), which calls mac_adjustmenus() as appropriate.
[u/mdw/putty]
/
mac
/
mac.c
diff --git
a/mac/mac.c
b/mac/mac.c
index
1552c2f
..
45b4b21
100644
(file)
--- a/
mac/mac.c
+++ b/
mac/mac.c
@@
-1,4
+1,4
@@
-/* $Id: mac.c,v 1.5
6 2003/03/25 23:18:59
ben Exp $ */
+/* $Id: mac.c,v 1.5
7 2003/04/05 14:34:06
ben Exp $ */
/*
* Copyright (c) 1999, 2003 Ben Harris
* All rights reserved.
/*
* 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. */
}
/* 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"
/*
* Local Variables:
* c-file-style: "simon"