winit/examples
aloucks 2b4e8ef916
Fix a pause in the event loop when clicking the title bar on windows (#4136)
* Fix a pause in the event loop when clicking the title bar on windows

When clicking the title bar on Windows, to drag the window, there is
a noticible pause in continuous redraw requests. This was fixed
in #839 and then regressed in #1852. The cursor blinks in both
cases and is unrelated. The regression made the blink happen after
the pause instead of immediately.

* Update the event loop pause note on the WM_NCLBUTTONDOWN handler

The application example was also updated to optionally animate the fill color
in order to demonstrate continuous redraw without pauses in the event
loop.
2025-03-17 02:27:27 +01:00
..
data Deprecate window creation with stale event loop 2024-02-21 14:44:29 +04:00
util Fix a pause in the event loop when clicking the title bar on windows (#4136) 2025-03-17 02:27:27 +01:00
application.rs Fix a pause in the event loop when clicking the title bar on windows (#4136) 2025-03-17 02:27:27 +01:00
child_window.rs Properly implement Debug for Window and EventLoop types (#3297) 2025-03-03 08:40:04 +01:00
control_flow.rs Properly implement Debug for Window and EventLoop types (#3297) 2025-03-03 08:40:04 +01:00
dnd.rs Properly implement Debug for Window and EventLoop types (#3297) 2025-03-03 08:40:04 +01:00
pump_events.rs Properly implement Debug for Window and EventLoop types (#3297) 2025-03-03 08:40:04 +01:00
run_on_demand.rs Properly implement Debug for Window and EventLoop types (#3297) 2025-03-03 08:40:04 +01:00
window.rs Properly implement Debug for Window and EventLoop types (#3297) 2025-03-03 08:40:04 +01:00
x11_embed.rs Properly implement Debug for Window and EventLoop types (#3297) 2025-03-03 08:40:04 +01:00