mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-09 03:48:04 +02:00
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:
parent
40354e7618
commit
2bea33e881
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue