diff options
author | chengyemao <chengyemao@noemail.net> | 2004-12-17 13:56:14 (GMT) |
---|---|---|
committer | chengyemao <chengyemao@noemail.net> | 2004-12-17 13:56:14 (GMT) |
commit | 3fb93422f99530ee5cebe798074d10f73e220caf (patch) | |
tree | 636bdb70864de465dced639c6ccd86eed00bdedb | |
parent | 5d18e37fb23304efa167d99bfe5272d8f5d25c82 (diff) | |
download | tk-3fb93422f99530ee5cebe798074d10f73e220caf.zip tk-3fb93422f99530ee5cebe798074d10f73e220caf.tar.gz tk-3fb93422f99530ee5cebe798074d10f73e220caf.tar.bz2 |
Make the container draw its background to avoid an unpainted toplevel when the embedded window is NULL
FossilOrigin-Name: 3c39d815b3907c5ccb82e70436f96a6eaeef084c
-rw-r--r-- | generic/tkFrame.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tkFrame.c b/generic/tkFrame.c index 8a50675..f6ae5cb 100644 --- a/generic/tkFrame.c +++ b/generic/tkFrame.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkFrame.c,v 1.17 2004/01/13 02:06:00 davygrvy Exp $ + * RCS: @(#) $Id: tkFrame.c,v 1.18 2004/12/17 13:56:15 chengyemao Exp $ */ #include "default.h" @@ -1397,8 +1397,7 @@ DisplayFrame(clientData) TkRegion clipRegion = NULL; framePtr->flags &= ~REDRAW_PENDING; - if ((framePtr->tkwin == NULL) || !Tk_IsMapped(tkwin) - || framePtr->isContainer) { + if ((framePtr->tkwin == NULL) || !Tk_IsMapped(tkwin)) { return; } |