mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-17 22:20:51 +00:00
2d3ef123e5
* Windows: dragging the window by its title bar no longer renders a frame per move step While a window is inside Windows' modal move loop and only moves, the vendored winit sends `Moved` once at the end, validates `WM_PAINT` without asking the app for a frame, and holds back relative raw mouse motion. Each window counts once in the loop, and a window destroyed there releases its count in WM_NCDESTROY. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VTLw4zU71LyMwTq6zdP73b * Windows: the smooth window drag is a setting, off by default (windows_smooth_window_drag) Drawing nothing while the window is dragged pauses animated content, which changes what a user already had. So it becomes a setting on Preferences > Layout, Windows only, off by default: a user who never turns it on sees exactly what main does. - The vendored winit's quiet move is behind a process-wide switch, `set_quiet_window_move`, whose default is winit's own behaviour. With it off, every paint, every move step and all raw mouse motion are sent as before. - The desktop app gives winit the setting when its settings are loaded and whenever the value changes; it applies at once. - On other systems the row is not drawn, and the control channel does not list the key and refuses it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VTLw4zU71LyMwTq6zdP73b * Windows: mice that report at 4-8 kHz no longer send thousands of events a second to the window thread Relative raw mouse motion is summed while more raw input is waiting in the queue and sent once per burst, instead of three device events per report. The sum is exact. Pending motion is sent before a button or wheel change and when a move or size loop starts, so the order of events is kept. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VTLw4zU71LyMwTq6zdP73b --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>