diff options
author | Eric Anholt <anholt@freebsd.org> | 2004-05-14 00:27:29 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2004-05-14 00:27:29 +0000 |
commit | 2bea33e881693e7d7dcf938db79c888a71dfb2fb (patch) | |
tree | c9d1fdc4692b9ad3832d8dbdb24f618aacd4a1c7 | |
parent | 40354e761892dc2ef88d2e722d8d7896642003eb (diff) |
Don't let the visible screen get "migrated" offscreen, which manifests
itself as a hang.
Reported by: Ginokas <ginokas@free.fr>
-rw-r--r-- | hw/kdrive/src/kaa.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |