xserver: Branch 'master'

Fredrik Höglund fredrik at kemper.freedesktop.org
Mon Aug 18 10:29:36 PDT 2008


 mi/miexpose.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 244a635fcdc9e0a7212d51b26d74f49d8e1b071f
Author: Fredrik Höglund <fredrik at kde.org>
Date:   Mon Aug 18 19:27:34 2008 +0200

    Fix the tile offset in miPaintWindow for ParentRelative windows.

diff --git a/mi/miexpose.c b/mi/miexpose.c
index 7da1324..9fbcdd7 100644
--- a/mi/miexpose.c
+++ b/mi/miexpose.c
@@ -547,8 +547,8 @@ miPaintWindow(WindowPtr pWin, RegionPtr prgn, int what)
 	draw_x_off = drawable->x;
 	draw_y_off = drawable->y;
 
-	tile_x_off = 0;
-	tile_y_off = 0;
+	tile_x_off = pWin->drawable.x - draw_x_off;
+	tile_y_off = pWin->drawable.y - draw_y_off;
 	fill = pWin->background;
 	switch (pWin->backgroundState) {
 	case None:


More information about the xorg-commit mailing list