X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/c6958dfe2ab270f7d02d02b21d4a4008478a5ea9..a7d4653aecbc5a0fb8cd783c0822568631058503:/mac/macterm.c diff --git a/mac/macterm.c b/mac/macterm.c index 46c30f66..f308808f 100644 --- a/mac/macterm.c +++ b/mac/macterm.c @@ -1,4 +1,4 @@ -/* $Id: macterm.c,v 1.78 2004/10/14 16:42:43 simon Exp $ */ +/* $Id$ */ /* * Copyright (c) 1999 Simon Tatham * Copyright (c) 1999, 2002 Ben Harris @@ -314,7 +314,6 @@ void mac_pollterm(void) Session *s; for (s = sesslist; s != NULL; s = s->next) { - term_out(s->term); term_update(s->term); } } @@ -1043,7 +1042,7 @@ static void mac_activateterm(WindowPtr window, EventRecord *event) Boolean active = (event->modifiers & activeFlag) != 0; s = mac_windowsession(window); - s->term->has_focus = active; + term_set_focus(s->term, active); term_update(s->term); if (active) ShowControl(s->scrollbar);