Fix the tile offset in miPaintWindow for ParentRelative windows.
(cherry picked from commit 244a635fcd
)
This commit is contained in:
parent
05472534cf
commit
d0ef934305
|
@ -564,8 +564,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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user