xserver/hw/kdrive/src kaa.c,1.23,1.24
Eric Anholt
xserver-commit at pdx.freedesktop.org
Thu May 13 17:27:31 PDT 2004
Committed by: anholt
Update of /cvs/xserver/xserver/hw/kdrive/src
In directory pdx:/home/anholt/xserver/hw/kdrive/src
Modified Files:
kaa.c
Log Message:
Don't let the visible screen get "migrated" offscreen, which
manifests itself as a hang.
Reported by: Ginokas <ginokas at free.fr>
Index: kaa.c
===================================================================
RCS file: /cvs/xserver/xserver/hw/kdrive/src/kaa.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- a/kaa.c 8 Jan 2004 08:16:24 -0000 1.23
+++ b/kaa.c 14 May 2004 00:27:29 -0000 1.24
@@ -198,7 +198,7 @@
if (pKaaPixmap->score < KAA_PIXMAP_SCORE_MAX)
{
pKaaPixmap->score++;
- if (!pKaaPixmap->area &&
+ if (!kaaPixmapIsOffscreen(pPixmap) &&
pKaaPixmap->score >= KAA_PIXMAP_SCORE_MOVE_IN)
kaaMoveInPixmap (pPixmap);
}
More information about the xserver-commit
mailing list