treewide: fix indentions got broke by recent commit
Commit f26f17c66a
broke some indentions,
fixing them now.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1662>
This commit is contained in:
parent
720651ebf3
commit
c4481fc20f
|
@ -482,8 +482,8 @@ doShmPutImage(DrawablePtr dst, GCPtr pGC,
|
||||||
PixmapBytePad(w, depth), data);
|
PixmapBytePad(w, depth), data);
|
||||||
if (!pPixmap)
|
if (!pPixmap)
|
||||||
return;
|
return;
|
||||||
(void) pGC->ops->CopyArea((DrawablePtr) pPixmap, dst, pGC, sx, sy, sw, sh, dx,
|
(void) pGC->ops->CopyArea((DrawablePtr) pPixmap, dst, pGC,
|
||||||
dy);
|
sx, sy, sw, sh, dx, dy);
|
||||||
FreeScratchPixmapHeader(pPixmap);
|
FreeScratchPixmapHeader(pPixmap);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -556,7 +556,8 @@ compNewPixmap(WindowPtr pWin, int x, int y, int w, int h)
|
||||||
&pPixmap->drawable,
|
&pPixmap->drawable,
|
||||||
pGC,
|
pGC,
|
||||||
x - pParent->drawable.x,
|
x - pParent->drawable.x,
|
||||||
y - pParent->drawable.y, w, h, 0, 0);
|
y - pParent->drawable.y,
|
||||||
|
w, h, 0, 0);
|
||||||
FreeScratchGC(pGC);
|
FreeScratchGC(pGC);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -295,7 +295,8 @@ miDbeSwapBuffers(ClientPtr client, int *pNumWindows, DbeSwapInfoPtr swapInfo)
|
||||||
ValidateGC((DrawablePtr) pWin, pGC);
|
ValidateGC((DrawablePtr) pWin, pGC);
|
||||||
(void) (*pGC->ops->CopyArea) ((DrawablePtr) pDbeWindowPriv->pBackBuffer,
|
(void) (*pGC->ops->CopyArea) ((DrawablePtr) pDbeWindowPriv->pBackBuffer,
|
||||||
(DrawablePtr) pWin, pGC, 0, 0,
|
(DrawablePtr) pWin, pGC, 0, 0,
|
||||||
pWin->drawable.width, pWin->drawable.height, 0, 0);
|
pWin->drawable.width,
|
||||||
|
pWin->drawable.height, 0, 0);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
**********************************************************************
|
**********************************************************************
|
||||||
|
|
12
dix/pixmap.c
12
dix/pixmap.c
|
@ -278,9 +278,15 @@ PixmapDirtyCopyArea(PixmapPtr dst, DrawablePtr src,
|
||||||
w = dst_box.x2 - dst_box.x1;
|
w = dst_box.x2 - dst_box.x1;
|
||||||
h = dst_box.y2 - dst_box.y1;
|
h = dst_box.y2 - dst_box.y1;
|
||||||
|
|
||||||
(void) pGC->ops->CopyArea(src, &dst->drawable, pGC,
|
(void) pGC->ops->CopyArea(src,
|
||||||
x + dst_box.x1, y + dst_box.y1, w, h,
|
&dst->drawable,
|
||||||
dst_x + dst_box.x1, dst_y + dst_box.y1);
|
pGC,
|
||||||
|
x + dst_box.x1,
|
||||||
|
y + dst_box.y1,
|
||||||
|
w,
|
||||||
|
h,
|
||||||
|
dst_x + dst_box.x1,
|
||||||
|
dst_y + dst_box.y1);
|
||||||
b++;
|
b++;
|
||||||
}
|
}
|
||||||
FreeScratchGC(pGC);
|
FreeScratchGC(pGC);
|
||||||
|
|
Loading…
Reference in New Issue