diff options
author | lfb <lfb> | 1999-03-09 01:47:27 (GMT) |
---|---|---|
committer | lfb <lfb> | 1999-03-09 01:47:27 (GMT) |
commit | fc7fc30bb7804077e6320e54b74913e759361a8b (patch) | |
tree | 746a5fe161656bced64b5a78e01a783ed598a518 /win/tkWinX.c | |
parent | 40344330fa300c3b58eedfea7c705b14029be3ca (diff) | |
download | tk-fc7fc30bb7804077e6320e54b74913e759361a8b.zip tk-fc7fc30bb7804077e6320e54b74913e759361a8b.tar.gz tk-fc7fc30bb7804077e6320e54b74913e759361a8b.tar.bz2 |
Window class should not use the CS_CLASSDC flag, as this causes
Tk to get confused during thread context switches and to draw to
the wrong windows.
This change should be revisited later, and a subsystem added to
manage device contexts on a thread-specific basis.
Diffstat (limited to 'win/tkWinX.c')
-rw-r--r-- | win/tkWinX.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c index 290656b..4d5fbb6 100644 --- a/win/tkWinX.c +++ b/win/tkWinX.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinX.c,v 1.1.4.8 1999/03/09 01:40:46 lfb Exp $ + * RCS: @(#) $Id: tkWinX.c,v 1.1.4.9 1999/03/09 01:47:28 lfb Exp $ */ #include "tkWinInt.h" @@ -156,7 +156,8 @@ TkWinXInit(hInstance) * threads will then write into the same device context. * * This is a hack; we should add a subsystem that manages - * device context on a per-thread basis. + * device context on a per-thread basis. See also tkWinWm.c, + * which also initializes a WNDCLASS structure. */ #ifdef TCL_THREADS |