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
commit de77946a8c
Notes: sideshowbarker 2024-07-18 12:22:23 +09:00

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");