Tk Source Code

Check-in [79c6dea3]
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:Fixed a typo that was causing extraneous "tkwin == NULL" debug messages in the mac regression tests.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-6-branch
Files: files | file ages | folders
SHA3-256: 79c6dea35385a0a09a9ecf2e313b6611594475285c81bba4209dd3990dd7d7b8
User & Date: culler 2019-03-19 22:25:22
Context
2019-03-22
14:13
Bugfix in tkWinClipboard: Failed to determine fname length in loop. check-in: 7117a7af user: jan.nijtmans tags: core-8-6-branch
2019-03-19
22:28
Fixed a typo that was causing extraneous "tkwin == NULL" debug messages in the mac regression tests. check-in: 12b25a67 user: culler tags: trunk
22:25
Fixed a typo that was causing extraneous "tkwin == NULL" debug messages in the mac regression tests. check-in: 79c6dea3 user: culler tags: core-8-6-branch
16:31
More use of Tcl_WinTCharToUtf() in stead of Tcl_UniCharToUtfDString(), making Tk less sensitive to the value of TCL_UTF_MAX (either 3, 4, or 6) check-in: d6528cb0 user: jan.nijtmans tags: core-8-6-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to macosx/tkMacOSXMouseEvent.c.

99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
    /*
     * If the event has no NSWindow, try using the cached NSWindow from the
     * last mouse event.
     */

    if (eventWindow == NULL) {
	eventWindow == _windowWithMouse;
    }
    if (eventWindow) {

	/*
	 * Set the local mouse position to its NSWindow flipped coordinates,
	 * with the origin at top left, and the global mouse position to the
	 * flipped screen coordinates.






|







99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
    /*
     * If the event has no NSWindow, try using the cached NSWindow from the
     * last mouse event.
     */

    if (eventWindow == NULL) {
	eventWindow = _windowWithMouse;
    }
    if (eventWindow) {

	/*
	 * Set the local mouse position to its NSWindow flipped coordinates,
	 * with the origin at top left, and the global mouse position to the
	 * flipped screen coordinates.