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

LoginServer: Mark the login window as non-closeable and non-minimizable

Previously, you could close the window and be permanently logged out.
This commit is contained in:
Timothy Flynn 2021-10-21 09:14:23 -04:00 committed by Linus Groh
parent 176155c695
commit 6d6cd87b7b

View file

@ -16,6 +16,8 @@ LoginWindow::LoginWindow(GUI::Window* parent)
resize(413, 170);
center_on_screen();
set_resizable(false);
set_minimizable(false);
set_closeable(false);
set_icon(GUI::Icon::default_icon("ladyball").bitmap_for_size(16));
auto& widget = set_main_widget<GUI::Widget>();