X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/1f1ec0e5f5c665264f91cc0675ce575d85adbb98..12bff6dc1d8d9d0eb9a20570216f87387cac59e9:/mac/mac.c diff --git a/mac/mac.c b/mac/mac.c index 1552c2fe..eb69224d 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.58 2003/05/10 11:40:18 ben Exp $ */ /* * Copyright (c) 1999, 2003 Ben Harris * All rights reserved. @@ -661,11 +661,13 @@ int agent_exists(void) return FALSE; } -void agent_query(void *in, int inlen, void **out, int *outlen) +int agent_query(void *in, int inlen, void **out, int *outlen, + void (*callback)(void *, void *, int), void *callback_ctx) { *out = NULL; *outlen = 0; + return 1; } /* Temporary null routines for testing. */ @@ -779,6 +781,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"