Open kettle11 opened 3 years ago
Simply wiggling a mouse while kapp is launching causes the window to launch without focus requiring an alt-tab.
kapp
Makepad's version of the fix is here: https://github.com/makepad/makepad/blob/master/render/src/cx_cocoa.rs#L225
Winit's version of the fix is this file (which also includes some great contextual info): https://github.com/rust-windowing/winit/blob/1ddceeb0630994e4960493b1fe92bc72f8c5a54b/src/platform_impl/macos/activation_hack.rs
Simply wiggling a mouse while
kapp
is launching causes the window to launch without focus requiring an alt-tab.Makepad's version of the fix is here: https://github.com/makepad/makepad/blob/master/render/src/cx_cocoa.rs#L225
Winit's version of the fix is this file (which also includes some great contextual info): https://github.com/rust-windowing/winit/blob/1ddceeb0630994e4960493b1fe92bc72f8c5a54b/src/platform_impl/macos/activation_hack.rs