summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
Commit message (Collapse)AuthorAgeFilesLines
* Change XSetCommand signature to match Xorg, needed for Cygwinjan.nijtmans2012-05-241-1/+1
|\
| * Change XSetCommand signature to match Xorg, needed for Cygwinjan.nijtmans2012-05-241-1/+1
| |\
| | * Change XSetCommand signature to match Xorg, needed for Cygwinjan.nijtmans2012-05-241-1/+1
| | |
* | | Change TkpWmSetState signature to match UNIX, needed for Cygwinjan.nijtmans2012-05-091-3/+5
|\ \ \ | |/ / | | | | | | Don't check for cygwin in win32 static build Some more useful #defines for Cygwin
| * | Change TkpWmSetState signature to match UNIX, needed for Cygwinjan.nijtmans2012-05-091-89/+91
| |\ \ | | |/ | | | | | | Don't check for cygwin in win32 static build Some more useful #defines for Cygwin
| | * Change TkpWmSetState signature to match UNIX, needed for Cygwinjan.nijtmans2012-05-091-131/+158
| | | | | | | | | | | | Don't check for cygwin in win32 static build Some more useful #defines for Cygwin
| * | [Bug 533519]: Window placement with multiple screensjan.nijtmans2012-05-021-14/+4
| |\ \ | | |/
* | | same bugfix, but now applied to trunkjan.nijtmans2012-04-211-14/+4
|\ \ \ | | |/ | |/|
| * | Fix bug 533519jan.nijtmans2012-04-161-13/+4
| | |
* | | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-1/+1
|\ \ \ | | |/ | |/|
| * | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-1/+1
| | |
| * | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-3/+3
| |\ \ | | |/
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-23/+5
| | |
| * | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-131-1/+1
| |\ \ | | |/
* | | Bug 2891541 Merge of 8.5.8 fix from Pat Thoyts.dgp2011-08-031-1/+8
| | | | | | | | | | | | Permit normal behaviour on Windows for a grabbed toplevel when it is the main window.
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * [Patch #3129527]: Fix buffer overflow w/ GCC 4.5 and -D_FORTIFY_SOURCE=2.nijtmans2011-01-251-2/+2
| | | | | | | | | | | | Just the strcpy->memcpy part, to prevent anything like [Bug #3164879]
| | * True commit.andreas_kupries2009-01-161-2/+2
| | |
| | * * win/tkWinWm.c (WmAttributesCmd): Fix a single use ofandreas_kupries2009-01-161-1/+6
| | | | | | | | | | | | SetWindowLongPtr which was not properly ifdef'd.
| | * * win/tkWinInt.h: remove CS_CLASSDC (not recommended for any apps now)hobbs2007-12-051-59/+31
| | | | | | | | | | | | | | | | | | | | | * win/tkWinX.c: and simplify WNDCLASS to one style. * win/tkWinWm.c: Reduce wrapper update for exStyle to toolwindow change only and set WS_EX_LAYERED as sticky (once set on a window, do not remove it) to reduce alpha transition flicker.
| | * * win/tkWinWm.c (WmIconphotoCmd): fix wm iconphoto RGBA issues.hobbs2007-06-101-4/+15
| | | | | | | | | | | | [Bug 1467997] (janssen)
| | * * doc/wm.n, tests/winWm.test:hobbs2006-12-011-25/+81
| | | | | | | | | | | | * win/tkWinWm.c: add -transparentcolor attribute for Windows.
| | * * win/tkWinEmbed.c (TkpGetOtherWindow): do not panic if no windowhobbs2006-04-111-3/+6
| | | | | | | | | | | | | | | | | | * win/tkWinWm.c (UpdateGeometryInfo): is found - handle it in * unix/tkUnixEmbed.c (TkpGetOtherWindow): the caller. [Bug 1212056] * unix/tkUnixWm.c (Tk_CoordsToWindow, UpdateGeometryInfo):
| | * * win/tkWinWm.c (WmProc): pass WM_QUERYENDSESSION message to Tk ashobbs2006-04-051-1/+13
| | | | | | | | | | | | WM_SAVE_YOURSELF wm protocol callback.
| | * 2005-11-16 Don Porter <dgp@users.sourceforge.net>dgp2005-12-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** 8.4.12 TAGGED FOR RELEASE *** * changes: Update changes for 8.4.12 release * mac/tkMacWm.c: Restored consistent error checking and * macosx/tkMacOSXWm.c: messages among different platform's * tests/wm.test: [wm grid] commands. [Bug 1323972]. * win/tkWinWm.c:
| | * * win/tkWinWm.c (WmAttributesCmd): set (no)topmost window aspecthobbs2005-12-011-2/+14
| | | | | | | | | | | | before rewrapping. [Bug 1086049]
| | * * win/tkWinWm.c (UpdateWrapper): Don't install frame menu on deadhobbs2005-11-301-2/+4
| | | | | | | | | | | | window. Backport of 1233635
| | * * macosx/tkMacOSXWm.c (TkWmStackorderToplevelWrapperMap, ↵mdejong2005-06-011-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TkWmStackorderToplevel): * unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): * win/tkWinWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Fix panic in wm stackorder when a toplevel is created on another diplay. The code now ignores toplevels that have a display that does not match the display of the parent window. [Bug 1152809]
| | * * win/tkWinWm.c (WinSetIcon): fix GCLP_ICONSM -> GCLP_HICONSM.hobbs2005-03-081-2/+2
| | |
| | * * win/tkWinWm.c (TkWinGetIcon): fix toplevel retrieval forhobbs2005-02-111-10/+11
| | | | | | | | | | | | determining icon ref (potential crash). [Bug 1105738]
| | * * win/tkWinWm.c (TkWinWmCleanup): clean up layered window classhobbs2005-01-041-1/+10
| | | | | | | | | | | | This caused crash in reinit of Tk (as seen in plugin).
| | * * tests/wm.test: Add Win32 test cases for attributesmdejong2004-10-291-9/+11
| | | | | | | | | | | | | | | | | | subcommand. * win/tkWinWm.c (WmAttributesCmd): Fixup broken option processing logic for attributes subcommand.
| | * * win/tkWinWm.c (UpdateWrapper): pass SWP_NOOWNERZORDER tohobbs2004-10-211-2/+3
| | | | | | | | | | | | | | | SetWindowPos when maintaining win Z order, to prevent parent from flashing (adjusting Z order).
| | * Backport of 8.5 wm iconphoto that added support for Tk photohobbs2004-10-051-6/+117
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tkInt.h (TkDisplay): images as titlebar icons. TIP #159 * win/tkWinWm.c (WmIconphotoCmd): wm iconphoto ?-default? image1 ... * macosx/tkMacOSXWm.c (WmIconphotoCmd): Implemented for Win/Unix, * unix/tkUnixWm.c (WmIconphotoCmd): stubbed out for OS X. * tests/wm.test, tests/unixWm.test, tests/winWm.test: [Bug 815751]
| | * * win/tkWinInt.h (TkWinDisplayChanged): added declhobbs2004-09-231-1/+107
| | | | | | | | | | | | | | | | | | | | | | | | * 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]
| | * * win/tkWinWm.c: Rework WS_EX_LAYERED and LWA_ALPHAmdejong2004-09-231-3/+5
| | | | | | | | | | | | defines so that compiling with mingw works again.
| | * * win/tkWinWm.c (UpdateWrapper, WmAttributesCmd): handle attributehobbs2004-09-211-41/+41
| | | | | | | | | | | | | | | settings prior to window mapping and resort to more forceful wrapper update again for -toolwindow (to remove it from taskbar).
| | * (UpdateWrapper): don't adjust Z order of TOPMOST window.hobbs2004-09-181-12/+28
| | | | | | | | | | | | | | | (WmAttributesCmd): don't call UpdateWrapper for -disabled or -toolwindow attr changes.
| | * * win/tkWinWm.c (WmAttributesCmd): correct -alpha 0.0/1.0 settinghobbs2004-09-181-19/+14
| | | | | | | | | | | | and round the value.
| | * * tests/winWm.test: Add 'wm attributes -alpha' to control toplevelhobbs2004-09-171-20/+156
| | | | | | | | | | | | | | | * win/tkWinInt.h: alpha transparency on Win2K/XP+. * win/tkWinWm.c: TIP #222 [Patch 892194]
| | * * win/tkWinWm.c (UpdateWrapper): Ensure that we maintain Z orderhobbs2004-09-171-11/+32
| | | | | | | | | | | | | | | | | | | | | * tests/winWm.test: and focus of preexisting window when replacing the wrapper window. * win/tkWinWm.c (WmIconwindowCmd): Replace bogus call to XWithdrawWindow with proper code. (mdejong)
| | * * win/tkWinWm.c (ReadIconFromFile): fix mem alloc to get the righthobbs2004-09-131-15/+10
| | | | | | | | | | | | size for both icons ('?:' order of precedence mistake).
| | * (UpdateWrapper): update to Kovalenko to account for whether thehobbs2004-09-101-14/+16
| | | | | | | | | | | | | | | | | | override window has a transient parent, and apply WS_POPUP in the correct case. The makes splash screens pop up as well as making dropdowns not grab focus away from the parent.
| | * * win/tkWinWm.c (ActivateWindow): SetFocus to grab window whenhobbs2004-09-101-4/+9
| | | | | | | | | | | | clicking outside the grab window hierarchy. [Bug 220908]
| | * * win/tkWinWm.c: backport of several items from 8.5 head:hobbs2004-09-101-64/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (ReadIconFromFile): when using SHGetFileInfo to retrieve icon, get regular icon as well for correct Alt-Tab icon. (hobbs) Fix for #742882 "Potential division by zero in gridded wm geometry" (jenglish) (UpdateWrapper): Let overrideredirect'ed window's wrapper be the child of desktop window, thus making it to behave more similarly to X11 Override Redirect. Esp. useful for combobox-like megawidgets. (kovalenko) (InstallColormaps): Check for TK_ALREADY_DEAD to avoid handling of dead windows. (kovalenko) Change 'panic' to 'Tcl_Panic' (davygrvy)
| | * * win/tkWinDialog.c (Tk_MessageBoxObjCmd): Inherit the icon fromhobbs2004-08-201-13/+86
| | | | | | | | | | | | | | | * win/tkWinInt.h: the -parent window for * win/tkWinWm.c (TkWinGetIcon): the MessageBox.
| | * Modified UpdateWrapper to fix bug 767176chengyemao2004-05-151-3/+3
| | |
* | | [Bug 3205464] - handle [wm forget] when the parent is unmapped on windowspatthoyts2011-03-191-3/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | The fix for [Bug 2009788] prevented a crash but causes windows to be lost if their parent is unmapped when [wm forget] is called. Added a test for this case and ensure that the parent window exists when we remap the child to its parent. Reported-by: Koen Danckaert <danckaert@users.sourceforge.net> Reported-by: Eric Boudaillier <beric@users.sourceforge.net> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>