Tk Source Code

Check-in [79c6dea3]
Login

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
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.616
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
Unified Diff 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.