windows: Avoid setting the mouse cursor while the window is disabled (#33230)

Don’t set the mouse cursor when the window is disabled, it causes issues
with modal dialogs.

Release Notes:

- N/A
28f56ad7ae张小白 committed on 6/23/2025, 5:59:10 AM· committed by GitHubparent7f44e4b
1 file changedLine totals unavailable