summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | [Bug 3205260] avoid crash in wm manage of children with null class patthoyts2011-03-101-1/+2
| | | | | | | | | | | | | | | | | | The tkhtml widget doesn't set it's window class. The Windows implementation of the wm manage command checks to see if the contained window is actually a menu (looking for torn-off menus) by examining the class. This patch adds a check for a null class to avoid crashing as suggested. Suggested-by: Eric Boudaillier <beric@users.sourceforge.net> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
* | [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]
* | [Bug 2956548] TkpButtonSetDefaults only initializes one button typenijtmans2010-03-121-24/+19
| | | | | | | | | | Fix various gcc warnings, all backported from Tk 8.6 VC6++ does not have SPI_SETKEYBOARDCUES
* | Make sure the window is still present when handling delayed activation [Bug ↵patthoyts2009-11-221-4/+15
| | | | | | | | 2899949]
* | [Bug 2891541] fix minimization of main window when it is grabbed.patthoyts2009-11-031-2/+9
| | | | | | | | | | | | This fixes a fault in some applications that fail to release a grab set on the main toplevel which were prevented from minimizing on windows following the changes for bug 1847002.
* | [Bug 2799589] Backported fix for crash on delayed window activation.patthoyts2009-06-021-3/+13
| |
* | Fix [Bug 2785744].dkf2009-05-031-2/+2
| |
* | [Patch 2504402] backported change to create wm icons as device independent ↵patthoyts2009-04-301-11/+66
| | | | | | | | bitmaps. (cjmcdonald)
* | Backported fix for [Bug 1847002] to prevent the bypassing of grab ↵patthoyts2009-01-071-20/+81
| | | | | | | | restrictions via the taskbar on Windows.
* | [Bug 2239034] Only frame widgets are acceptable for [wm manage]patthoyts2008-11-151-1/+7
| |
* | Backported fixes for handling unmapped parent toplevels. [Bug 2009788, 2028703]patthoyts2008-08-011-8/+12
| |
* | Add in missing function definitions to support plain MSVC6 and usepatthoyts2007-12-141-27/+3
| | | | | | | | | | INT_PTR rather than LONG_PTR which isn'tr defined in the msvc6 headers.
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | Fix suite of small problems that prevented a build from working for me.dkf2007-12-091-1/+25
| |
* | * win/tkWinButton.c, win/tkWinDialog.c: use SetWindowLongPtr andhobbs2007-12-051-34/+1
| | | | | | | | | | * win/tkWinScrlbr.c, win/tkWinWm.c: GetWindowLongPtr only. * win/ttkWinMonitor.c:
* | * win/tkWinInt.h: remove CS_CLASSDC (not recommended for any apps now)hobbs2007-12-051-67/+28
| | | | | | | | | | | | | | * 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.