bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Add `Windows::get_focused(_mut)`

Open irate-devil opened this issue 1 year ago • 5 comments

Add a method to get the focused window.

Use this instead of WindowFocused events in close_on_esc. Seems that the OS/window manager might not always send focused events on application startup.

Sadly, not a fix for #5646.

irate-devil avatar Nov 12 '22 23:11 irate-devil