Tk Source Code

Check-in [27801b13]
Login

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

Overview
Comment:Fix [131adc6b77]: on Windows and macOS, when the window that got a ButtonPress was destroyed while the button was down, the following ButtonRelease and Motion events went to the window then under the pointer. Discard them until all buttons are released, as X11 does. Document that the release can still reach another application, e.g. when the application exits from a Button binding.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | pointer-dead-restrict-window
Files: files | file ages | folders
SHA3-256: 27801b131f03c5a6b880252cb790e3c436ed26aba00f256f6a36d978fb2174c5
User & Date: serhiy.storchaka 2026-10-23 19:16:10.309
References
2026-10-23
19:17 • Ticket [131adc6b] bound buttonpress is passed on to other program status still Open with 4 other changes artifact: b77162b1 user: serhiy.storchaka
Context
2026-11-10
16:59
Fix for [131adc6b77]: bound buttonpress is passed on to other program check-in: d1af9365 user: csaba tags: trunk, main
2026-10-23
19:16
Fix [131adc6b77]: on Windows and macOS, when the window that got a ButtonPress was destroyed while the button was down, the following ButtonRelease and Motion events went to the window then under the pointer. Discard them until all buttons are released, as X11 does. Document that the release can still reach another application, e.g. when the application exits from a Button binding. closed check-in: 27801b13 user: serhiy.storchaka tags: pointer-dead-restrict-window
16:18
Manpage markup fixes check-in: e4c9f6e9 user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to doc/bind.n.
Changes to generic/tkPointer.c.