diff options
author | hobbs <hobbs> | 2000-01-12 11:45:02 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2000-01-12 11:45:02 (GMT) |
commit | 417d8566462493d0782bf312cdbbd4e301e30546 (patch) | |
tree | 5d3d64633cf82653fb8cf69a698e374ca1bf6146 /generic/tkEntry.c | |
parent | 32fad90058330cb7c74edd226bc96a8e95fe73be (diff) | |
download | tk-417d8566462493d0782bf312cdbbd4e301e30546.zip tk-417d8566462493d0782bf312cdbbd4e301e30546.tar.gz tk-417d8566462493d0782bf312cdbbd4e301e30546.tar.bz2 |
* generic/tkCanvas.c: fixed mem leak with TagSearchExprInit
[Bug: 3977]
* generic/tkStubInit.c:
* generic/tkDecls.h: remove non-existent
Tk_(Get|Create)CanvasVisitor prototypes
* generic/tkText.c:
* generic/tkEntry.c: fixed cursor to not blink when widget was
disabled [Bug: 1807]
* generic/tkRectOval.c: added note about change to bloat for
RectOval bounds calculation for WIN32 only
Diffstat (limited to 'generic/tkEntry.c')
-rw-r--r-- | generic/tkEntry.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tkEntry.c b/generic/tkEntry.c index 856869f..9f3b560 100644 --- a/generic/tkEntry.c +++ b/generic/tkEntry.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkEntry.c,v 1.8 1999/12/21 23:55:10 hobbs Exp $ + * RCS: @(#) $Id: tkEntry.c,v 1.9 2000/01/12 11:45:02 hobbs Exp $ */ #include "tkInt.h" @@ -2598,7 +2598,8 @@ EntryBlinkProc(clientData) { Entry *entryPtr = (Entry *) clientData; - if (!(entryPtr->flags & GOT_FOCUS) || (entryPtr->insertOffTime == 0)) { + if ((entryPtr->state == STATE_DISABLED) || + !(entryPtr->flags & GOT_FOCUS) || (entryPtr->insertOffTime == 0)) { return; } if (entryPtr->flags & CURSOR_ON) { |