Add an option to disable the maximize window button on PCs #9082
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?
In my game I disabled resizing, however I can still maximize the window which displaces everything. I would like to be able to disable the maximize window button.
What solution would you like?
Probably to have one more member in the Window structure where you can say
maximizable: false
.What alternative(s) have you considered?
I tried turning off the
decorations
option, but that removes the whole top bar from the window which prevents minimization, closing and moving the window as well, which is not desirable.Additional context
2 year old comment still present in bevy 0.10.1 which states that this feature is still not exposed by winit
https://github.com/bevyengine/bevy/blob/v0.10.1/crates/bevy_window/src/window.rs#L294
winit 0.28.6 (the version that the latest bevy should be using) implementation of this feature
https://github.com/rust-windowing/winit/blob/v0.28.6/src/platform_impl/windows/window.rs#L271
The text was updated successfully, but these errors were encountered: