We do need a force redraw on resize for menu, info and status bar

This commit is contained in:
Maxime Coste 2016-05-16 10:23:47 +01:00
parent 8c6849bb04
commit 3b6d6956e2

View File

@ -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);
}