1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

mac_pollterm() is no longer useful and can be retired.

[originally from svn r5249]
This commit is contained in:
Owen Dunn 2005-02-05 00:14:24 +00:00
parent b69e9d0781
commit 061cfb7ef3
3 changed files with 0 additions and 15 deletions

View File

@ -260,7 +260,6 @@ static void mac_eventloop(void) {
cursrgn = NewRgn();
sleeptime = 0;
for (;;) {
mac_adjustcursor(cursrgn);
ticksleft=timing_next_time-GETTICKCOUNT();
if (sleeptime > ticksleft && ticksleft >=0)
sleeptime=ticksleft;
@ -286,7 +285,6 @@ static void mac_eventloop(void) {
}
if (!gotevent)
sk_poll();
mac_pollterm();
if (mac_gestalts.apprvers >= 0x100 && mac_frontwindow() != NULL)
IdleControls(mac_frontwindow());
}

View File

@ -162,7 +162,6 @@ extern void mac_showeventlog(Session *);
/* from macterm.c */
extern void mac_opensession(void);
extern void mac_startsession(Session *);
extern void mac_pollterm(void);
/* from macstore.c */
extern OSErr get_putty_dir(Boolean makeit, short *pVRefNum, long *pDirID);
extern OSErr get_session_dir(Boolean makeit, short *pVRefNum, long *pDirID);

View File

@ -304,18 +304,6 @@ static pascal OSStatus uni_to_font_fallback(UniChar *ucp,
return noErr;
}
/*
* Called every time round the event loop.
*/
void mac_pollterm(void)
{
Session *s;
for (s = sesslist; s != NULL; s = s->next) {
term_update(s->term);
}
}
/*
* To be called whenever the window size changes.
* rows and cols should be desired values.