winit/src/platform_impl
aloucks 2253565db5 Prevent the event loop from pausing when entering modal loop (eventloop-2.0) (#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.
2019-04-14 11:48:31 -04:00
..
android Event Loop 2.0 API and Windows implementation (#638) 2019-02-05 10:30:33 -05:00
emscripten Event Loop 2.0 API and Windows implementation (#638) 2019-02-05 10:30:33 -05:00
ios Event Loop 2.0 API and Windows implementation (#638) 2019-02-05 10:30:33 -05:00
linux Add ability to get wayland display from events loop. (#829) 2019-04-08 08:34:49 +02:00
macos Add additional numpad key mappings (#805) 2019-04-07 16:41:52 +02:00
windows Prevent the event loop from pausing when entering modal loop (eventloop-2.0) (#839) 2019-04-14 11:48:31 -04:00
mod.rs Event Loop 2.0 API and Windows implementation (#638) 2019-02-05 10:30:33 -05:00