Don't let the visible screen get "migrated" offscreen, which manifests
itself as a hang. Reported by: Ginokas <ginokas@free.fr>
This commit is contained in:
@@ -198,7 +198,7 @@ kaaPixmapUseScreen (PixmapPtr pPixmap)
|
|||||||
if (pKaaPixmap->score < KAA_PIXMAP_SCORE_MAX)
|
if (pKaaPixmap->score < KAA_PIXMAP_SCORE_MAX)
|
||||||
{
|
{
|
||||||
pKaaPixmap->score++;
|
pKaaPixmap->score++;
|
||||||
if (!pKaaPixmap->area &&
|
if (!kaaPixmapIsOffscreen(pPixmap) &&
|
||||||
pKaaPixmap->score >= KAA_PIXMAP_SCORE_MOVE_IN)
|
pKaaPixmap->score >= KAA_PIXMAP_SCORE_MOVE_IN)
|
||||||
kaaMoveInPixmap (pPixmap);
|
kaaMoveInPixmap (pPixmap);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user