Do not wait for the first event before drawing clients

This commit is contained in:
Maxime Coste 2014-12-18 19:01:18 +00:00
parent 8d7ddfdf8b
commit 4827ae0a53

View File

@ -406,11 +406,11 @@ int run_server(StringView session, StringView init_command,
while (not terminate and (not client_manager.empty() or daemon)) while (not terminate and (not client_manager.empty() or daemon))
{ {
client_manager.redraw_clients();
event_manager.handle_next_events(EventMode::Normal); event_manager.handle_next_events(EventMode::Normal);
client_manager.handle_pending_inputs(); client_manager.handle_pending_inputs();
client_manager.clear_mode_trashes(); client_manager.clear_mode_trashes();
buffer_manager.clear_buffer_trash(); buffer_manager.clear_buffer_trash();
client_manager.redraw_clients();
} }
{ {