1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:37:44 +00:00

DisplaySettings: Prevent minimising the window

This matches how the new MouseSettings application works.
This commit is contained in:
Jamie Mansfield 2021-07-26 11:41:06 +01:00 committed by Gunnar Beutner
parent eb28ca2081
commit 3129956c4e

View file

@ -42,6 +42,7 @@ int main(int argc, char** argv)
window->set_title("Display Settings");
window->resize(400, 480);
window->set_resizable(false);
window->set_minimizable(false);
auto& main_widget = window->set_main_widget<GUI::Widget>();
main_widget.set_fill_with_background_color(true);