1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +00:00

Terminal: Don't show window until we've added menubar to it

This removes the janky-looking window growth during startup.
This commit is contained in:
Andreas Kling 2021-06-12 11:59:00 +02:00
parent 0a98964600
commit de77946a8c

View file

@ -320,7 +320,6 @@ int main(int argc, char** argv)
window->resize(size);
};
terminal.apply_size_increments_to_window(*window);
window->show();
window->set_icon(app_icon.bitmap_for_size(16));
auto bell = config->read_entry("Window", "Bell", "Visible");
@ -460,6 +459,7 @@ int main(int argc, char** argv)
unveil(nullptr, nullptr);
window->show();
config->sync();
int result = app->exec();
dbgln("Exiting terminal, updating utmp");