Tk Source Code

Check-in [a6d320c4]
Login

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

Overview
Comment:Fix [525728ffff]: Let Windows set the resize cursors on the frame of a toplevel.

TkWinChildProc short circuited every WM_SETCURSOR message, and WmProc falls through to it for toplevels, so the resize cursors on the window border were only shown transiently and flickered back to the arrow. Short circuit only in the client area, where Tk sets the cursor itself.

Downloads: See separate download page
Timelines: family | ancestors | win-frame-cursor
Files: files | file ages | folders
SHA3-256: a6d320c40382756d8eb55f46e7ff68cf790d4fd15d937330bbeeca476ca0c7be
User & Date: serhiy.storchaka 2026-09-23 21:09:21.053
Original Comment: Let Windows set the resize cursors on the frame of a toplevel.

TkWinChildProc short circuited every WM_SETCURSOR message, and WmProc falls through to it for toplevels, so the resize cursors on the window border were only shown transiently and flickered back to the arrow. Short circuit only in the client area, where Tk sets the cursor itself. [Bug 525728]

Context
2026-09-23
21:09
Fix [525728ffff]: Let Windows set the resize cursors on the frame of a toplevel.

TkWinChildProc short circuited every WM_SETCURSOR message, and WmProc falls through to it for toplevels, so the resize cursors on the window border were only shown transiently and flickered back to the arrow. Short circuit only in the client area, where Tk sets the cursor itself. leaf check-in: a6d320c4 user: serhiy.storchaka tags: win-frame-cursor

10:33
Fix for [3de1b72157]: ttk::notebook takes the focus when clicked, even with the -takefocus 0 option. check-in: a695f427 user: csaba tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to win/tkWinX.c.