diff options
author | hobbs <hobbs> | 2004-09-23 01:08:11 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2004-09-23 01:08:11 (GMT) |
commit | 9cb039ee07a2ebc764e1a616b17a34f9ea6283f0 (patch) | |
tree | fd784f52acf31c941302f0a30a35e5a2dc79e215 /win/tkWinInt.h | |
parent | e88c6a500d3a2fbf8a8b8110bb0a0aa05c08cf7c (diff) | |
download | tk-9cb039ee07a2ebc764e1a616b17a34f9ea6283f0.zip tk-9cb039ee07a2ebc764e1a616b17a34f9ea6283f0.tar.gz tk-9cb039ee07a2ebc764e1a616b17a34f9ea6283f0.tar.bz2 |
* win/tkWinInt.h (TkWinDisplayChanged): added decl
* win/tkWinX.c (TkWinDisplayChanged, TkpOpenDisplay): Correctly
* win/tkWinWm.c (InvalidateSubTreeDepth, WmProc): handle color
and screen resolution changes. Tested for 16/24/32 bpp changes on
XP. May need more fixes for 8bpp switch, use of special
colormaps, or other special palette handling cases. [Bug 223689]
Diffstat (limited to 'win/tkWinInt.h')
-rw-r--r-- | win/tkWinInt.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/win/tkWinInt.h b/win/tkWinInt.h index 0d14a0d..dfb0f35 100644 --- a/win/tkWinInt.h +++ b/win/tkWinInt.h @@ -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: tkWinInt.h,v 1.18 2004/09/21 19:13:58 mdejong Exp $ + * RCS: @(#) $Id: tkWinInt.h,v 1.19 2004/09/23 01:08:11 hobbs Exp $ */ #ifndef _TKWININT @@ -172,6 +172,11 @@ EXTERN void TkWinUpdatingClipboard(int mode); EXTERN HICON TkWinGetIcon(Tk_Window tkw, DWORD iconsize); /* + * Used by tkWinX.c on for certain system display change messages + */ +EXTERN void TkWinDisplayChanged(Display *display); + +/* * The following structure keeps track of whether we are using the * multi-byte or the wide-character interfaces to the operating system. * System calls should be made through the following function table. |