Tk Source Code

Check-in [d7225b61]
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:Fix [1088825fff]: frame-3.9 and frame-3.10 fail on macOS
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d7225b61fbb4d24ff56cd6e768322e7eeaa7a493b57855a0556e8f19828b8428
User & Date: fvogel 2018-07-17 18:49:39
Context
2018-07-17
18:51
Fix [d34dcd5225]: frame-2.17 fails on macOS check-in: c451e97f user: fvogel tags: trunk
18:49
Fix [1088825fff]: frame-3.9 and frame-3.10 fail on macOS check-in: d7225b61 user: fvogel tags: trunk
18:49
Fix [1088825fff]: frame-3.9 and frame-3.10 fail on macOS check-in: 5a680abb user: fvogel tags: core-8-6-branch
2018-07-11
19:55
Promote some internal variables from int to size_t. This makes Tk compile with TIP #494-enabled Tcl, without the need for -DTCL_USE_INT_RETURN check-in: bda7be3d user: jan.nijtmans tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to macosx/tkMacOSXWm.c.

4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283

4284
4285
4286
4287
4288
4289
4290
	    /*
	     * The container window is in the same application. Query its
	     * coordinates.
	     */

	    winPtr = otherPtr;

	    /*
	     * Remember to offset by the container window here, since at the
	     * end of this if branch, we will pop out to the container's
	     * parent...
	     */

	    x += winPtr->changes.x + winPtr->changes.border_width;
	    y += winPtr->changes.y + winPtr->changes.border_width;

	}
	winPtr = winPtr->parentPtr;
    }
    *xPtr = x;
    *yPtr = y;
}
 






<
<
<
<
<
<
<
<
<
>







4268
4269
4270
4271
4272
4273
4274









4275
4276
4277
4278
4279
4280
4281
4282
	    /*
	     * The container window is in the same application. Query its
	     * coordinates.
	     */

	    winPtr = otherPtr;









            continue;
	}
	winPtr = winPtr->parentPtr;
    }
    *xPtr = x;
    *yPtr = y;
}