Tk Source Code

Check-in [e836917d]
Login

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

Overview
Comment:Fix [546607ffff]: Do not reset the cursor over a window not managed by Tk
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: e836917d7dd7fb2a7a17b63bea8230af8aa56070e108bad1b61cb3442819a291
User & Date: jan.nijtmans 2026-10-23 14:28:12.255
References
2026-10-23
14:29 • Pending ticket [546607ff]: problem with cursor change plus 8 other changes artifact: 5cd77522 user: jan.nijtmans
Context
2026-10-29
15:43
Fix [546607ffff]: Do not reset the cursor over a window not managed by Tk check-in: fef2f0d0 user: csaba tags: core-9-0-branch
2026-10-23
14:46
Fix [600313]: the icon list of the file dialog no longer clears the selection when it loses focus check-in: 1994866f user: jan.nijtmans tags: trunk, main
14:28
Fix [546607ffff]: Do not reset the cursor over a window not managed by Tk check-in: e836917d user: jan.nijtmans tags: trunk, main
13:45
Fix [220787]: Stipple patterns don't work in arc/oval items on Windows check-in: f34f83d4 user: jan.nijtmans tags: trunk, main
2026-09-23
21:55
Fix [546607ffff]: Do not reset the cursor over a window not managed by Tk.

Tk_HWNDToWindow() returns NULL when the pointer is over a window which Tk does not own, for example a child window created by an extension. Tk_UpdatePointer() then called UpdateCursor(NULL), which fell through to TkpSetCursor(None) and loaded the default arrow cursor, so the 250 ms mouse timer kept overwriting the cursor set by the owner of that window. closed check-in: a283eb2a user: serhiy.storchaka tags: win-foreign-cursor

Changes
Unified Diff Side-by-Side Diff Patch
Changes to changes.md.
Changes to generic/tkPointer.c.