Tk Source Code

Timeline
Login

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

3 check-ins related to "win-warp-rounding"

2026-10-19
09:14
Fix [3f1ad1ff50]: Windows: pointer warp could land one pixel short of the requested position check-in: 36a85716 user: jan.nijtmans tags: trunk, main
2026-10-02
13:17
Fix [3f1ad1ff50]: Windows: pointer warp could land one pixel short of the requested position.

TkSetCursorPos() converted the position to the normalized coordinates of SendInput() with rounding to nearest, but Windows converts them back with rounding down, so some positions mapped to the previous pixel (e.g. x = 20 on a 3840 pixels wide screen; test bind-34.2 failed). Round up instead, so that the pointer lands on the requested pixel for any screen width. closed check-in: 4d5305ce user: serhiy.storchaka tags: win-warp-rounding

06:11
Fix [2b6398e983]: leak of the -locale value of entry, spinbox and text. check-in: 359b0a55 user: nab tags: trunk, main