Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent the event loop from pausing when entering modal loop (eventlo…
…op-2.0) (rust-windowing#839) * Prevent the event loop from pausing after entering modal loop After clicking the window title bar or border (for a drag or resize), the event loop pauses until the mouse is moved. This change relays the WM_NCLBUTTONDOWN message to the dummy window where it queues a redraw and consumes the message. This effectively jumpstarts the modal loop and it continues to fire draw requests. * Handle WM_NCLBUTTONDOWN in public_window_callback instead of relaying. Relaying the WM_NCLBUTTONDOWN message to the modal window turned out to be unnecessary.
- Loading branch information