From 3b6d6956e24855b02ce1c89ce31e3a7554a8bdae Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 16 May 2016 10:23:47 +0100 Subject: [PATCH] We do need a force redraw on resize for menu, info and status bar --- src/client.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client.cc b/src/client.cc index b91a2254..cc42c7fd 100644 --- a/src/client.cc +++ b/src/client.cc @@ -85,7 +85,10 @@ void Client::handle_available_input(EventMode mode) else if (*key == Key::FocusOut) context().hooks().run_hook("FocusOut", context().name(), context()); else if (key->modifiers == Key::Modifiers::Resize) + { m_window->set_dimensions(m_ui->dimensions()); + force_redraw(); + } else m_input_handler.handle_key(*key); }