diff options
author | mdejong <mdejong@noemail.net> | 2002-06-12 19:02:47 (GMT) |
---|---|---|
committer | mdejong <mdejong@noemail.net> | 2002-06-12 19:02:47 (GMT) |
commit | 78abb33b06046f81f7e55a3ce12c065240ead8d7 (patch) | |
tree | b9d5c6efdc426faf7948a35e387669270af7514d /library | |
parent | 84a5fb4ee633395484b17c75e19ae52a67eb07b9 (diff) | |
download | tk-78abb33b06046f81f7e55a3ce12c065240ead8d7.zip tk-78abb33b06046f81f7e55a3ce12c065240ead8d7.tar.gz tk-78abb33b06046f81f7e55a3ce12c065240ead8d7.tar.bz2 |
* changes: Add note about new transient behavior.
* 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.
FossilOrigin-Name: b05e1154cf5528e467289fd82864e519f2a7c69b
Diffstat (limited to 'library')
0 files changed, 0 insertions, 0 deletions