~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove has_focus from Session and use the one in Terminal. Active vs passive
[sgt/putty]
/
mac
/
macterm.c
diff --git
a/mac/macterm.c
b/mac/macterm.c
index
73ce742
..
51e732f
100644
(file)
--- a/
mac/macterm.c
+++ b/
mac/macterm.c
@@
-1,4
+1,4
@@
-/* $Id: macterm.c,v 1.
3 2002/11/19 23:59:27
ben Exp $ */
+/* $Id: macterm.c,v 1.
4 2002/11/20 00:11:05
ben Exp $ */
/*
* Copyright (c) 1999 Simon Tatham
* Copyright (c) 1999, 2002 Ben Harris
/*
* Copyright (c) 1999 Simon Tatham
* Copyright (c) 1999, 2002 Ben Harris
@@
-729,7
+729,7
@@
void mac_activateterm(WindowPtr window, Boolean active) {
Session *s;
s = (Session *)GetWRefCon(window);
Session *s;
s = (Session *)GetWRefCon(window);
- s->has_focus = active;
+ s->
term->
has_focus = active;
term_update(s->term);
if (active)
ShowControl(s->scrollbar);
term_update(s->term);
if (active)
ShowControl(s->scrollbar);