summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-06-12 11:59:00 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-12 12:01:54 +0200
commitde77946a8c6bbe78b829be165736587fb823b690 (patch)
tree2750898a56356324752a68d2f1bc662cbe40a10f /Userland
parent0a98964600fffc97cfe904432be29ec13b6e91a5 (diff)
downloadserenity-de77946a8c6bbe78b829be165736587fb823b690.zip
Terminal: Don't show window until we've added menubar to it
This removes the janky-looking window growth during startup.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Applications/Terminal/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Terminal/main.cpp b/Userland/Applications/Terminal/main.cpp
index dd8fc9e325..e76eaaad7b 100644
--- a/Userland/Applications/Terminal/main.cpp
+++ b/Userland/Applications/Terminal/main.cpp
@@ -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");