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:
parent
0a98964600
commit
de77946a8c
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue