1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-05-28 15:24:49 -05:00

Implement update_special_menu(), which calls mac_adjustmenus() as appropriate.

Eventually, mac_adjustmenus() will handle populating the Specials menu.

[originally from svn r3058]
This commit is contained in:
Ben Harris 2003-04-05 14:34:06 +00:00
parent 2e29590470
commit 000edf3233

View File

@ -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"