From 2bea33e881693e7d7dcf938db79c888a71dfb2fb Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 14 May 2004 00:27:29 +0000 Subject: [PATCH] Don't let the visible screen get "migrated" offscreen, which manifests itself as a hang. Reported by: Ginokas --- hw/kdrive/src/kaa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/kdrive/src/kaa.c b/hw/kdrive/src/kaa.c index 5e67368a8..3059c1e57 100644 --- a/hw/kdrive/src/kaa.c +++ b/hw/kdrive/src/kaa.c @@ -198,7 +198,7 @@ kaaPixmapUseScreen (PixmapPtr pPixmap) if (pKaaPixmap->score < KAA_PIXMAP_SCORE_MAX) { pKaaPixmap->score++; - if (!pKaaPixmap->area && + if (!kaaPixmapIsOffscreen(pPixmap) && pKaaPixmap->score >= KAA_PIXMAP_SCORE_MOVE_IN) kaaMoveInPixmap (pPixmap); }