winit/src/platform_impl/macos
Mads Marquart 277515636d
MacOS: Only activate after the application has finished launching (#1903)
* MacOS: Only activate after the application has finished launching

This fixes the main menu not responding until you refocus, at least from what I can tell - though we might have to do something similar to https://github.com/linebender/druid/pull/994 to fix it fully?

* MacOS: Remove activation hack

* Stop unnecessarily calling `makeKeyWindow` on initially hidden windows

You can't make hidden windows the key window

* Add new, simpler activation hack

For activating multiple windows created before the application finished launching
2021-04-29 19:49:17 +02:00
..
util MacOS: Only activate after the application has finished launching (#1903) 2021-04-29 19:49:17 +02:00
app.rs MacOS: Only activate after the application has finished launching (#1903) 2021-04-29 19:49:17 +02:00
app_delegate.rs MacOS: Only activate after the application has finished launching (#1903) 2021-04-29 19:49:17 +02:00
app_state.rs MacOS: Only activate after the application has finished launching (#1903) 2021-04-29 19:49:17 +02:00
event.rs Prefix numpad virtual key codes with Numpad 2020-09-20 12:58:24 +03:00
event_loop.rs Fix for closure-captured values not being dropped on panic (#1853) 2021-03-08 19:56:39 +01:00
ffi.rs Change linking of CGDisplayCreateUUIDFromDisplayID on macos (#1626) 2021-02-05 08:58:55 +01:00
menu.rs Add MacOS menu (#1583) 2021-04-24 16:56:46 +02:00
mod.rs MacOS: Only activate after the application has finished launching (#1903) 2021-04-29 19:49:17 +02:00
monitor.rs macOS: Unbundled window activation hack (#1318) 2020-01-10 16:02:42 -08:00
observer.rs Fix for closure-captured values not being dropped on panic (#1853) 2021-03-08 19:56:39 +01:00
view.rs Mac: Redraw immediately to prevent shaking on window resize (#1901) 2021-04-06 09:22:38 +02:00
window.rs MacOS: Only activate after the application has finished launching (#1903) 2021-04-29 19:49:17 +02:00
window_delegate.rs Fix WindowEvent::Moved ignoring DPI on macOS 2020-09-23 10:54:53 +00:00