-/* $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
Session *s;
for (s = sesslist; s != NULL; s = s->next) {
- term_out(s->term);
term_update(s->term);
}
}
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);