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
					
				|  | @ -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…
	
		Reference in New Issue