Delete unused lastWinOrg field from GCs.
Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
This commit is contained in:
parent
b218402436
commit
f856dcdc3a
4
dix/gc.c
4
dix/gc.c
|
@ -527,8 +527,6 @@ CreateGC(DrawablePtr pDrawable, BITS32 mask, XID *pval, int *pStatus,
|
||||||
pGC->numInDashList = 2;
|
pGC->numInDashList = 2;
|
||||||
pGC->dash = DefaultDash;
|
pGC->dash = DefaultDash;
|
||||||
pGC->dashOffset = 0;
|
pGC->dashOffset = 0;
|
||||||
pGC->lastWinOrg.x = 0;
|
|
||||||
pGC->lastWinOrg.y = 0;
|
|
||||||
|
|
||||||
/* use the default font and stipple */
|
/* use the default font and stipple */
|
||||||
pGC->font = defaultFont;
|
pGC->font = defaultFont;
|
||||||
|
@ -841,8 +839,6 @@ CreateScratchGC(ScreenPtr pScreen, unsigned depth)
|
||||||
pGC->dashOffset = 0;
|
pGC->dashOffset = 0;
|
||||||
pGC->numInDashList = 2;
|
pGC->numInDashList = 2;
|
||||||
pGC->dash = DefaultDash;
|
pGC->dash = DefaultDash;
|
||||||
pGC->lastWinOrg.x = 0;
|
|
||||||
pGC->lastWinOrg.y = 0;
|
|
||||||
|
|
||||||
/* scratch GCs in the GCperDepth pool start off unused */
|
/* scratch GCs in the GCperDepth pool start off unused */
|
||||||
pGC->scratch_inuse = FALSE;
|
pGC->scratch_inuse = FALSE;
|
||||||
|
|
|
@ -199,9 +199,6 @@ fbValidateGC(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable)
|
||||||
FbGCPrivPtr pPriv = fbGetGCPrivate(pGC);
|
FbGCPrivPtr pPriv = fbGetGCPrivate(pGC);
|
||||||
FbBits mask;
|
FbBits mask;
|
||||||
|
|
||||||
pGC->lastWinOrg.x = pDrawable->x;
|
|
||||||
pGC->lastWinOrg.y = pDrawable->y;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* if the client clip is different or moved OR the subwindowMode has
|
* if the client clip is different or moved OR the subwindowMode has
|
||||||
* changed OR the window's clip has changed since the last validation
|
* changed OR the window's clip has changed since the last validation
|
||||||
|
|
|
@ -92,8 +92,6 @@ xnestCreateGC(GCPtr pGC)
|
||||||
void
|
void
|
||||||
xnestValidateGC(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable)
|
xnestValidateGC(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable)
|
||||||
{
|
{
|
||||||
pGC->lastWinOrg.x = pDrawable->x;
|
|
||||||
pGC->lastWinOrg.y = pDrawable->y;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -303,7 +303,6 @@ typedef struct _GC {
|
||||||
DDXPointRec patOrg; /* origin for (tile, stipple) */
|
DDXPointRec patOrg; /* origin for (tile, stipple) */
|
||||||
struct _Font *font;
|
struct _Font *font;
|
||||||
DDXPointRec clipOrg;
|
DDXPointRec clipOrg;
|
||||||
DDXPointRec lastWinOrg; /* position of window last validated */
|
|
||||||
pointer clientClip;
|
pointer clientClip;
|
||||||
unsigned long stateChanges; /* masked with GC_<kind> */
|
unsigned long stateChanges; /* masked with GC_<kind> */
|
||||||
unsigned long serialNumber;
|
unsigned long serialNumber;
|
||||||
|
|
Loading…
Reference in New Issue