Tk Source Code

Check-in [9f64c948]
Login

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

Overview
Comment:Fix [2817531fff]: "wm manage" is deficient and flickering.

On X11, "wm manage" created the wrapper by mapping and immediately unmapping it, so the window flashed at +0+0 even if "wm withdraw" followed. Only create the wrapper and leave mapping to the idle handler, so that "wm withdraw", "wm geometry", "wm overrideredirect" etc. can be applied first.

Downloads: See separate download page
Timelines: family | ancestors | descendants | both | x11-wm-manage-no-flicker
Files: files | file ages | folders
SHA3-256: 9f64c9486a1aa0393652380a2430698f1c01bf53f6365594f33f28be89932578
User & Date: serhiy.storchaka 2026-10-02 17:22:55.724
Context
2026-10-27
16:13
Fix for [2817531fff]: "wm manage" is deficient and flickering check-in: 5e0e41ad user: csaba tags: trunk, main
2026-10-02
17:22
Fix [2817531fff]: "wm manage" is deficient and flickering.

On X11, "wm manage" created the wrapper by mapping and immediately unmapping it, so the window flashed at +0+0 even if "wm withdraw" followed. Only create the wrapper and leave mapping to the idle handler, so that "wm withdraw", "wm geometry", "wm overrideredirect" etc. can be applied first. closed check-in: 9f64c948 user: serhiy.storchaka tags: x11-wm-manage-no-flicker

16:48
Fix for [3414673fff]: Improper look of ttk::checkbutton -style Toolbutton. check-in: bfa641b9 user: csaba tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to tests/wm.test.
Changes to unix/tkUnixWm.c.