diff options
author | mdejong <mdejong> | 2002-06-12 19:02:47 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2002-06-12 19:02:47 (GMT) |
commit | d0a1bb90be7ff13f1f6e4726a619d023aed98e71 (patch) | |
tree | b9d5c6efdc426faf7948a35e387669270af7514d /changes | |
parent | 72d83b662b05709150ca4d85040a0d35313a669d (diff) | |
download | tk-d0a1bb90be7ff13f1f6e4726a619d023aed98e71.zip tk-d0a1bb90be7ff13f1f6e4726a619d023aed98e71.tar.gz tk-d0a1bb90be7ff13f1f6e4726a619d023aed98e71.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.
Diffstat (limited to 'changes')
-rw-r--r-- | changes | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -2,7 +2,7 @@ This file summarizes all changes made to Tk since version 1.0 was released on March 13, 1991. Changes that aren't backward compatible are marked specially. -RCS: @(#) $Id: changes,v 1.52 2002/05/27 22:54:42 mdejong Exp $ +RCS: @(#) $Id: changes,v 1.53 2002/06/12 19:02:48 mdejong Exp $ 3/16/91 (bug fix) Modified tkWindow.c to remove Tk's Tcl commands from the interpreter when the main window is deleted (otherwise there will @@ -5184,4 +5184,8 @@ address TIP 72 changes (64-bit) in Tcl (fellows) --- Released 8.4a4, March 5, 2002 --- See ChangeLog for details --- -2002-05-27 (feature change) [wm transient .t .t] now raises an error +2002-05-27 (feature change) [wm transient .t .t] now raises an error (dejong) + +2002-06-12 (feature change) A transient toplevel now mirrors state +changes in the master. (dejong) + |