diff options
-rw-r--r-- | dix/gc.c | 4 | ||||
-rw-r--r-- | fb/fbgc.c | 3 | ||||
-rw-r--r-- | hw/xnest/GC.c | 2 | ||||
-rw-r--r-- | include/gcstruct.h | 1 |
4 files changed, 0 insertions, 10 deletions
@@ -527,8 +527,6 @@ CreateGC(DrawablePtr pDrawable, BITS32 mask, XID *pval, int *pStatus, pGC->numInDashList = 2; pGC->dash = DefaultDash; pGC->dashOffset = 0; - pGC->lastWinOrg.x = 0; - pGC->lastWinOrg.y = 0; /* use the default font and stipple */ pGC->font = defaultFont; @@ -841,8 +839,6 @@ CreateScratchGC(ScreenPtr pScreen, unsigned depth) pGC->dashOffset = 0; pGC->numInDashList = 2; pGC->dash = DefaultDash; - pGC->lastWinOrg.x = 0; - pGC->lastWinOrg.y = 0; /* scratch GCs in the GCperDepth pool start off unused */ pGC->scratch_inuse = FALSE; @@ -199,9 +199,6 @@ fbValidateGC(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable) FbGCPrivPtr pPriv = fbGetGCPrivate(pGC); FbBits mask; - pGC->lastWinOrg.x = pDrawable->x; - pGC->lastWinOrg.y = pDrawable->y; - /* * if the client clip is different or moved OR the subwindowMode has * changed OR the window's clip has changed since the last validation diff --git a/hw/xnest/GC.c b/hw/xnest/GC.c index 2761583ec..407cc77f3 100644 --- a/hw/xnest/GC.c +++ b/hw/xnest/GC.c @@ -92,8 +92,6 @@ xnestCreateGC(GCPtr pGC) void xnestValidateGC(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable) { - pGC->lastWinOrg.x = pDrawable->x; - pGC->lastWinOrg.y = pDrawable->y; } void diff --git a/include/gcstruct.h b/include/gcstruct.h index b6d71a9a3..4fea02cb4 100644 --- a/include/gcstruct.h +++ b/include/gcstruct.h @@ -303,7 +303,6 @@ typedef struct _GC { DDXPointRec patOrg; /* origin for (tile, stipple) */ struct _Font *font; DDXPointRec clipOrg; - DDXPointRec lastWinOrg; /* position of window last validated */ pointer clientClip; unsigned long stateChanges; /* masked with GC_<kind> */ unsigned long serialNumber; |