diff options
author | vincentdarley <vincentdarley> | 2003-11-12 17:38:48 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley> | 2003-11-12 17:38:48 (GMT) |
commit | c9a21bc6573fb9f501fc6b07a8d147c927b45799 (patch) | |
tree | 3e36cb9398276b994734a05a56705998b85de42a | |
parent | a906189ba8d0deb1700017221317967a9d5dc133 (diff) | |
download | tk-c9a21bc6573fb9f501fc6b07a8d147c927b45799.zip tk-c9a21bc6573fb9f501fc6b07a8d147c927b45799.tar.gz tk-c9a21bc6573fb9f501fc6b07a8d147c927b45799.tar.bz2 |
old tk text widget bugs fixed
-rw-r--r-- | generic/tkText.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkText.c b/generic/tkText.c index 6e0b2be..dc738a1 100644 --- a/generic/tkText.c +++ b/generic/tkText.c @@ -14,7 +14,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkText.c,v 1.42 2003/11/12 17:19:17 vincentdarley Exp $ + * RCS: @(#) $Id: tkText.c,v 1.43 2003/11/12 17:38:48 vincentdarley Exp $ */ #include "default.h" @@ -1817,7 +1817,7 @@ TextEventProc(clientData, eventPtr) */ DestroyText(textPtr); } else if ((eventPtr->type == FocusIn) || (eventPtr->type == FocusOut)) { - if (eventPtr->xfocus.detail != NotifyInferior + if (eventPtr->xfocus.detail == NotifyInferior || eventPtr->xfocus.detail == NotifyAncestor || eventPtr->xfocus.detail == NotifyNonlinear ) { |