From 7a9062f2f029b4f911ba56f291375fbf5a98ca73 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 14 Dec 2010 15:44:16 -0500 Subject: [PATCH] fonts: Fix typo in async ListFonts logic This was introduced in 3ab6cd31cbdf8095b2948034fce5fb645422d8da. Mea culpa. This logic is still incorrect [1], but at least it's less incorrect. [1] - https://bugzilla.redhat.com/658587 Reviewed-by: Peter Hutterer Reviewed-by: Daniel Stone Signed-off-by: Adam Jackson --- dix/dixfonts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dix/dixfonts.c b/dix/dixfonts.c index bd1ad3075..d8f15290b 100644 --- a/dix/dixfonts.c +++ b/dix/dixfonts.c @@ -667,7 +667,7 @@ doListFontsAndAliases(ClientPtr client, LFclosurePtr c) ((pointer) c->client, fpe, &name, &namelen, &tmpname, &resolvedlen, c->current.private); if (err == Suspended) { - if (ClientIsAsleep(client)) + if (!ClientIsAsleep(client)) ClientSleep(client, (ClientSleepProcPtr)doListFontsAndAliases, c);