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);
|
||||
if (!pPixmap)
|
||||
return;
|
||||
(void) pGC->ops->CopyArea((DrawablePtr) pPixmap, dst, pGC, sx, sy, sw, sh, dx,
|
||||
dy);
|
||||
(void) pGC->ops->CopyArea((DrawablePtr) pPixmap, dst, pGC,
|
||||
sx, sy, sw, sh, dx, dy);
|
||||
FreeScratchPixmapHeader(pPixmap);
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -553,10 +553,11 @@ compNewPixmap(WindowPtr pWin, int x, int y, int w, int h)
|
|||
ChangeGC(NullClient, pGC, GCSubwindowMode, &val);
|
||||
ValidateGC(&pPixmap->drawable, pGC);
|
||||
(void) (*pGC->ops->CopyArea) (&pParent->drawable,
|
||||
&pPixmap->drawable,
|
||||
pGC,
|
||||
x - pParent->drawable.x,
|
||||
y - pParent->drawable.y, w, h, 0, 0);
|
||||
&pPixmap->drawable,
|
||||
pGC,
|
||||
x - pParent->drawable.x,
|
||||
y - pParent->drawable.y,
|
||||
w, h, 0, 0);
|
||||
FreeScratchGC(pGC);
|
||||
}
|
||||
}
|
||||
|
|
23
dbe/midbe.c
23
dbe/midbe.c
|
@ -276,9 +276,9 @@ miDbeSwapBuffers(ClientPtr client, int *pNumWindows, DbeSwapInfoPtr swapInfo)
|
|||
case XdbeUntouched:
|
||||
ValidateGC((DrawablePtr) pDbeWindowPriv->pFrontBuffer, pGC);
|
||||
(void) (*pGC->ops->CopyArea) ((DrawablePtr) pWin,
|
||||
(DrawablePtr) pDbeWindowPriv->pFrontBuffer,
|
||||
pGC, 0, 0, pWin->drawable.width,
|
||||
pWin->drawable.height, 0, 0);
|
||||
(DrawablePtr) pDbeWindowPriv->pFrontBuffer,
|
||||
pGC, 0, 0, pWin->drawable.width,
|
||||
pWin->drawable.height, 0, 0);
|
||||
break;
|
||||
|
||||
case XdbeCopied:
|
||||
|
@ -294,8 +294,9 @@ miDbeSwapBuffers(ClientPtr client, int *pNumWindows, DbeSwapInfoPtr swapInfo)
|
|||
|
||||
ValidateGC((DrawablePtr) pWin, pGC);
|
||||
(void) (*pGC->ops->CopyArea) ((DrawablePtr) pDbeWindowPriv->pBackBuffer,
|
||||
(DrawablePtr) pWin, pGC, 0, 0,
|
||||
pWin->drawable.width, pWin->drawable.height, 0, 0);
|
||||
(DrawablePtr) pWin, pGC, 0, 0,
|
||||
pWin->drawable.width,
|
||||
pWin->drawable.height, 0, 0);
|
||||
|
||||
/*
|
||||
**********************************************************************
|
||||
|
@ -621,9 +622,9 @@ miDbePositionWindow(WindowPtr pWin, int x, int y)
|
|||
/* Copy the contents of the old front pixmap to the new one. */
|
||||
if (pWin->bitGravity != ForgetGravity) {
|
||||
(void) (*pGC->ops->CopyArea) ((DrawablePtr) pDbeWindowPriv->pFrontBuffer,
|
||||
(DrawablePtr) pFrontBuffer, pGC,
|
||||
sourcex, sourcey, savewidth, saveheight,
|
||||
destx, desty);
|
||||
(DrawablePtr) pFrontBuffer, pGC,
|
||||
sourcex, sourcey, savewidth, saveheight,
|
||||
destx, desty);
|
||||
}
|
||||
|
||||
ValidateGC(&pBackBuffer->drawable, pGC);
|
||||
|
@ -634,9 +635,9 @@ miDbePositionWindow(WindowPtr pWin, int x, int y)
|
|||
/* Copy the contents of the old back pixmap to the new one. */
|
||||
if (pWin->bitGravity != ForgetGravity) {
|
||||
(void) (*pGC->ops->CopyArea) ((DrawablePtr) pDbeWindowPriv->pBackBuffer,
|
||||
(DrawablePtr) pBackBuffer, pGC,
|
||||
sourcex, sourcey, savewidth, saveheight,
|
||||
destx, desty);
|
||||
(DrawablePtr) pBackBuffer, pGC,
|
||||
sourcex, sourcey, savewidth, saveheight,
|
||||
destx, desty);
|
||||
}
|
||||
|
||||
/* Destroy the old pixmaps, and point the DBE window priv to the new
|
||||
|
|
12
dix/pixmap.c
12
dix/pixmap.c
|
@ -278,9 +278,15 @@ PixmapDirtyCopyArea(PixmapPtr dst, DrawablePtr src,
|
|||
w = dst_box.x2 - dst_box.x1;
|
||||
h = dst_box.y2 - dst_box.y1;
|
||||
|
||||
(void) pGC->ops->CopyArea(src, &dst->drawable, pGC,
|
||||
x + dst_box.x1, y + dst_box.y1, w, h,
|
||||
dst_x + dst_box.x1, dst_y + dst_box.y1);
|
||||
(void) pGC->ops->CopyArea(src,
|
||||
&dst->drawable,
|
||||
pGC,
|
||||
x + dst_box.x1,
|
||||
y + dst_box.y1,
|
||||
w,
|
||||
h,
|
||||
dst_x + dst_box.x1,
|
||||
dst_y + dst_box.y1);
|
||||
b++;
|
||||
}
|
||||
FreeScratchGC(pGC);
|
||||
|
|
Loading…
Reference in New Issue