Tk Source Code

Check-in [46451724]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Adding 1 character fixes two of the three crashes reported in ticket [1951abf33d]
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | bug-1951abf33d
Files: files | file ages | folders
SHA3-256: 464517242bcbd76399da265150624889e9d345e189c8584d5d852df60ee0dca4
User & Date: culler 2019-02-27 23:22:36
Context
2019-02-28
05:02
Make sure that we don't create cycles in the parent->child digraph even if there are cycles in the master->transient digraph. check-in: 324dae0a user: culler tags: bug-1951abf33d
2019-02-27
23:22
Adding 1 character fixes two of the three crashes reported in ticket [1951abf33d] check-in: 46451724 user: culler tags: bug-1951abf33d
2019-02-23
21:16
Fix bug [9771ae0f0b]: In Aqua, deiconifying a transient of a withdrawn window can create a zombie. check-in: b2b91450 user: culler tags: core-8-6-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to macosx/tkMacOSXWm.c.

3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
	/*
	 * Add the transient to the master's list.
	 */

	Transient *transient = ckalloc(sizeof(Transient));
	transient->winPtr = winPtr;
	transient->flags = 0;
	transient->nextPtr = wmPtr->transientPtr;
	wmPtr2->transientPtr = transient;
	
	/*
	 * If the master is withdrawn or iconic then withdraw the transient.
	 */

	if ((wmPtr2->hints.initial_state == WithdrawnState ||






|







3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
	/*
	 * Add the transient to the master's list.
	 */

	Transient *transient = ckalloc(sizeof(Transient));
	transient->winPtr = winPtr;
	transient->flags = 0;
	transient->nextPtr = wmPtr2->transientPtr;
	wmPtr2->transientPtr = transient;
	
	/*
	 * If the master is withdrawn or iconic then withdraw the transient.
	 */

	if ((wmPtr2->hints.initial_state == WithdrawnState ||