bevy::window::Window should support setting & Querying Focus status #1327
Labels
A-Windowing
Platform-agnostic interface layer to run your app in
C-Feature
A new feature, making something new possible
What problem does this solve or what need does it fill?
Currently the window status is not easily available without tracking window events in a separate resource.
What solution would you like?
Add a new system to bevy_window to process WindowFocused Events and keep track of which window is focused at any given time. Also create a new Window Command to force a window be brought to the front and focused.
What alternative(s) have you considered?
Maintaining a separate Resource and System to process these events. The workaround is not insurmountable and this feature is simply a quality of life improvement.
Example
The text was updated successfully, but these errors were encountered: