Tk Source Code

Check-in [63c88e8a]
Login

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

Overview
Comment:Add a test for [a4fa3ad2d6], with a testxfocus command which returns the Tk window with the X input focus and can set it as a window manager does
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | x11-embed-focus-return
Files: files | file ages | folders
SHA3-256: 63c88e8a6ddab3f8c9a8cdf12203743521b59a22328fdae53785d9aa58dc5487
User & Date: serhiy.storchaka 2026-09-22 06:22:51.210
References
2026-09-22
06:29 • Ticket [a4fa3ad2] event misbehavior with certain widgets when embedding status still Open with 3 other changes artifact: e535267d user: serhiy.storchaka
Context
2026-09-27
07:32
Merge main. Use testxfocus from main. check-in: 3a5d5614 user: serhiy.storchaka tags: x11-embed-focus-return
2026-09-22
06:22
Add a test for [a4fa3ad2d6], with a testxfocus command which returns the Tk window with the X input focus and can set it as a window manager does check-in: 63c88e8a user: serhiy.storchaka tags: x11-embed-focus-return
2026-09-19
12:59
Fix [a4fa3ad2d6]: event misbehavior with certain widgets when embedding

After the embedded application claimed the focus, the window manager set the X focus back to the container's toplevel, and Tk ignored that FocusIn (NotifyInferior), so key events went to the container until a Leave/Enter cycle. Pass the X focus on to the embedded application again. check-in: eb2b41d5 user: serhiy.storchaka tags: x11-embed-focus-return

Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tkTest.c.
Changes to tests/constraints.tcl.
Changes to tests/unixEmbed.test.