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:
parent
2e29590470
commit
000edf3233
12
mac/mac.c
12
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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user