summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-06-12 08:42:31 -0700
committerJamey Sharp <jamey@minilop.net>2010-09-13 15:55:17 -0700
commitf856dcdc3a7b635dd94d3dac387ddec952e4880b (patch)
tree18aaf51e6d08944512c1526bd9386212c3537e6c
parentb2184024361717358e35a56b084c4a71cbc29234 (diff)
Delete unused lastWinOrg field from GCs.
Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
-rw-r--r--dix/gc.c4
-rw-r--r--fb/fbgc.c3
-rw-r--r--hw/xnest/GC.c2
-rw-r--r--include/gcstruct.h1
4 files changed, 0 insertions, 10 deletions
diff --git a/dix/gc.c b/dix/gc.c
index 6da243e01..83bb52474 100644
--- a/dix/gc.c
+++ b/dix/gc.c
@@ -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;
diff --git a/fb/fbgc.c b/fb/fbgc.c
index 2568698f7..45e981b61 100644
--- a/fb/fbgc.c
+++ b/fb/fbgc.c
@@ -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;