From: Richard Kettlewell Date: Sun, 11 Nov 2007 11:05:54 +0000 (+0000) Subject: faster startup by not redrawing so often X-Git-Tag: debian-1_5_99dev8~44 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/295b03dc2c13a6029f4f3e2d889743045281f1c2?hp=9f110560af549e6ddbb1d4ecefc26306459472b6 faster startup by not redrawing so often --- diff --git a/disobedience/queue.c b/disobedience/queue.c index 6de6483..4d756c5 100644 --- a/disobedience/queue.c +++ b/disobedience/queue.c @@ -177,7 +177,7 @@ struct queuelike { /** @brief Called when an update completes */ void (*notify)(void); - /** @brief Called to fix up the queue after update + /** @brief Called to fix up the queue after update * @param q The list passed back from the server * @return Assigned to @c ql->q */ @@ -258,7 +258,7 @@ static void dump_layout(const struct queuelike *ql) { static void namepart_completed_or_failed(void) { D(("namepart_completed_or_failed")); --namepart_lookups_outstanding; - if(!namepart_lookups_outstanding || namepart_completions_deferred > 24) { + if(!namepart_lookups_outstanding) { redisplay_queue(&ql_queue); redisplay_queue(&ql_recent); redisplay_queue(&ql_added);