Tk Source Code

Check-in [423012d7]
Login

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

Overview
Comment:Fix [b298b92ba7]: when Tk was loaded into one thread after another on X11, a later thread died with a random X error. Xft's close-display hook frees glyphs through RENDER after RENDER's own hook has run, which registers RENDER again for the dying display, and a new display at the same address inherits the stale extension codes. Initialize RENDER in TkpOpenDisplay() before Xft, so that its hook runs last.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | x11-render-before-xft
Files: files | file ages | folders
SHA3-256: 423012d7950cf0d1afcc2d9c5b74b831b50ddd11e6301aba58368849ced00135
User & Date: serhiy.storchaka 2026-10-23 20:48:46.383
References
2026-10-23
20:52 • Ticket [b298b92b] Possible Tk regression when loading into threads status still Open with 4 other changes artifact: e77c8bfa user: serhiy.storchaka
Context
2026-11-10
14:48
Fix for [b298b92ba7]: Possible Tk regression when loading into threads check-in: fa8a84bb user: csaba tags: trunk, main
2026-10-23
20:48
Fix [b298b92ba7]: when Tk was loaded into one thread after another on X11, a later thread died with a random X error. Xft's close-display hook frees glyphs through RENDER after RENDER's own hook has run, which registers RENDER again for the dying display, and a new display at the same address inherits the stale extension codes. Initialize RENDER in TkpOpenDisplay() before Xft, so that its hook runs last. closed check-in: 423012d7 user: serhiy.storchaka tags: x11-render-before-xft
20:19
Fix [360434]: no longer replace "::" in manual page with "_" on installation check-in: a248516e user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to unix/tkUnixEvent.c.