diff --git a/src/client.cc b/src/client.cc index 38684524..6019f391 100644 --- a/src/client.cc +++ b/src/client.cc @@ -38,6 +38,9 @@ Client::Client(std::unique_ptr&& ui, m_ui->set_ui_options(m_window->options()["ui_options"].get()); m_ui->set_input_callback([this](EventMode mode) { handle_available_input(mode); }); + + m_window->hooks().run_hook("WinDisplay", m_window->buffer().name(), context()); + force_redraw(); }