From: Robin K. <kom...@us...> - 2004-05-23 15:11:48
|
Update of /cvsroot/xine/xine-lib/src/video_out In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5306 Modified Files: video_out_pgx64.c Log Message: Fix detection of a partially obscured window. Index: video_out_pgx64.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/video_out/video_out_pgx64.c,v retrieving revision 1.63 retrieving revision 1.64 diff -u -r1.63 -r1.64 --- video_out_pgx64.c 2 May 2004 20:13:23 -0000 1.63 +++ video_out_pgx64.c 23 May 2004 15:11:34 -0000 1.64 @@ -467,7 +467,7 @@ while ((cx0 = *cliprects++) != DGA_X_EOL) { cx1 = *cliprects++; - if (((cx0 >= wx0) && (cy0 >= wy0)) || ((cx1 <= wx1) && (cy1 <= wy1))) { + if ((cx0 < wx1) && (cy0 < wy1) && (cx1 > wx0) && (cy1 > wy0)) { dgavis = DGA_VIS_PARTIALLY_OBSCURED; } if ((cx0 <= wx0) && (cy0 <= wy0) && (cx1 >= wx1) && (cy1 >= wy1)) { @@ -475,6 +475,7 @@ } } } + DGA_DRAW_UNLOCK(this->dgadraw); XUnlockDisplay(this->display); |