| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Just the strcpy->memcpy part, to prevent anything like [Bug #3164879]
|
| |
|
|
|
|
| |
SetWindowLongPtr which was not properly ifdef'd.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
[Bug 1467997] (janssen)
|
|
|
|
| |
* win/tkWinWm.c: add -transparentcolor attribute for Windows.
|
|
|
|
|
|
| |
* win/tkWinWm.c (UpdateGeometryInfo): is found - handle it in
* unix/tkUnixEmbed.c (TkpGetOtherWindow): the caller. [Bug 1212056]
* unix/tkUnixWm.c (Tk_CoordsToWindow, UpdateGeometryInfo):
|
|
|
|
| |
WM_SAVE_YOURSELF wm protocol callback.
|
|
|
|
|
|
|
|
|
|
|
| |
*** 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:
|
|
|
|
| |
before rewrapping. [Bug 1086049]
|
|
|
|
| |
window. Backport of 1233635
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
| |
|
|
|
|
| |
determining icon ref (potential crash). [Bug 1105738]
|
|
|
|
| |
This caused crash in reinit of Tk (as seen in plugin).
|
|
|
|
|
|
| |
subcommand.
* win/tkWinWm.c (WmAttributesCmd): Fixup broken
option processing logic for attributes subcommand.
|
|
|
|
|
| |
SetWindowPos when maintaining win Z order, to prevent parent
from flashing (adjusting Z order).
|
|
|
|
|
|
|
|
| |
* 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/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]
|
|
|
|
| |
defines so that compiling with mingw works again.
|
|
|
|
|
| |
settings prior to window mapping and resort to more forceful
wrapper update again for -toolwindow (to remove it from taskbar).
|
|
|
|
|
| |
(WmAttributesCmd): don't call UpdateWrapper for -disabled or
-toolwindow attr changes.
|
|
|
|
| |
and round the value.
|
|
|
|
|
| |
* win/tkWinInt.h: alpha transparency on Win2K/XP+.
* win/tkWinWm.c: TIP #222 [Patch 892194]
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
| |
size for both icons ('?:' order of precedence mistake).
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
clicking outside the grab window hierarchy. [Bug 220908]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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/tkWinInt.h: the -parent window for
* win/tkWinWm.c (TkWinGetIcon): the MessageBox.
|
| |
|
|
|
|
|
|
| |
* win/tkWin32Dll.c (DllMain): to ensure that it will be called
* win/tkWinWm.c (TkWinWmCleanup): without having to unload the dll.
Also reset the static int initialized on cleanup to allow reinit.
|
|
|
|
|
|
|
|
|
|
|
| |
check that a transient remains withdrawn
when it is first withdrawn and then turned
into a transient.
* unix/tkUnixWm.c:
* win/tkWinWm.c: Replace WM_TRANSIENT_WITHDRAWN
with WM_WITHDRAWN and set this flag whenever
a window is explicitly withdrawn. This fixes
the test case added above. [Bug 644356]
|
| |
|
|
|
|
| |
* win/tkWinWM.c: Windows due to latest patch. Tks Vince Darley.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* generic/tkTest.c: Test commands not supported on non-Unix
platforms should not be defined there in the first place.
* tests/constraints.tcl: Fixed "secureserver" constraint.
* tests/unixWm.test: Some tests needed "unix" constraint.
* win/tkWinWm.c: Typo in error message.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and already mapped toplevel are raised and receive
the focus when deiconified.
* tests/wm.test: Add wm deiconify tests. Check that
a toplevel that has never been mapped is not mapped
by the deiconify command since it should be done
at idle by MapFrame.
* win/tkWinWm.c (Tk_WmCmd): Check the WM_NEVER_MAPPED
flag while processing the wm deiconify command.
The WM_UPDATE_PENDING flag should never be set when
WM_NEVER_MAPPED is set, but double check so that
the implementation is more explicit and matches
the comment just above.
Return without invoking TkWmRestackToplevel or
TkSetFocusWin on a toplevel that has never been
mapped. This fixes a bug where a toplevel is mapped
with the wrong size and is then resized by the
idle call to MapFrame. [Tk bug 233150]
|
|
|
|
|
|
|
| |
wrapper introduced in r1.41 on 2002-06-15 because it prevented
geometry setting from taking effect if the window was not on the
screen. Another check may go in it's place as IsIconic and
IsZoomed should not be passed NULL.
|
|
|
|
|
|
|
|
|
|
| |
calls to wm transient tests so that idle handlers get
run. This is needed to get the tests to pass under Win32.
* unix/tkUnixWm.c (WmWaitMapProc): Move the special
transient withdrawn check into the if body to
make it easier to set a breakpoint on this test
inside a debugger. No functional changes.
* win/tkWinWm.c (WmWaitVisibilityOrMapProc): Ditto.
|
|
|
|
|
|
|
|
| |
* mac/tkMacWm.c (Tk_WmCmd): docs with mac and unix stubs.
* unix/tkUnixWm.c (Tk_WmCmd):
* win/tkWinWm.c (Tk_WmCmd):
* tests/unixWm.test:
* tests/winWm.test: more wm attr tests will be needed.
|
|
|
|
|
|
|
|
|
|
|
| |
transient does not get remapped by state changes
in the master.
* unix/tkUnixWm.c (Tk_WmCmd, WmWaitMapProc):
* win/tkWinWm.c (Tk_WmCmd, WmWaitVisibilityOrMapProc):
Add a WM_TRANSIENT_WITHDRAWN flag that gets set by the
withdraw, deiconify, or state wm subcommands. Check
this flag before mapping a transient when processing
a MapNotify event. [Tk bug 570764]
|
|
|
|
|
|
|
| |
* generic/tkCmds.c (Tk_WmObjCmd):
* unix/tkUnixWm.c (Tk_WmCmd):
* win/tkWinWm.c (Tk_WmCmd): changed wmTracing from being an int to
just a bit in the flags variable (TK_DISPLAY_WM_TRACING)
|
|
|
|
|
|
|
|
| |
(patch from Neil McKay).
* Add CirculateRequest, Create, MapRequest, ResizeRequest,
and ConfigureRequest event types;
* Split TK_TOPLEVEL flag into TK_TOPLEVEL, TK_HAS_WRAPPER,
TK_WIN_MANAGED, and TK_TOP_HIERARCHY.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/unixWm.test: Check that the WM_TRANSIENT_FOR
property for a transient window is being cleared
when the master is destroyed.
* tests/wm.test: Source defs.tcl instead of using
tcltest to match the rest of Tk's test files.
Add new tests that ensure that a transient's state
mirrors the state of the master.
* unix/tkUnixWm.c (WmInfo, TkWmNewWindow, TkWmMapWindow,
TkWmDeadWindow, Tk_WmCmd, WmWaitMapProc): Add numTransients
member to WmInfo structure. Keep state of master and
transient in sync using a callback that tracks MapNotify
and UnmapNotify events. When the master is mapped, map
the transient. When the master is unmapped or iconified,
withdraw the transient.
* win/tkWinWm.c (TkWmMapWindow, TkpWmSetState,
TkWmDeadWindow, Tk_WmCmd, WmWaitVisibilityOrMapProc):
Keep state of master and transient in sync using a
callback that tracks MapNotify and UnmapNotify events.
Move masterPtr check from TkpWmSetState into TkWmMapWindow
to deal with WM_NEVER_MAPPED transients. Cleanup
numTransients and the callback in TkWmDeadWindow.
Cleanup numTransients and the callback only after
deleting a master in wm transient command to avoid
deleting the callback when an error is raised.
Add support for MapNotify and UnmapNotify events
to the master callback.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/wm.test: Check that setting a window
as a transient of itself raises an error. Check
that passing a non-toplevel window to the wm
transient command uses the enclosing toplevel.
* unix/tkUnixWm.c (Tk_WmCmd): Raise an error
if the user tries to make a toplevel a
transient of itself.
* win/tkWinWm.c (Tk_WmCmd): Raise an error
if the user tries to make a toplevel a
transient of itself. Test for other error
before checking for the transient self error.
|