summaryrefslogtreecommitdiff
path: root/miext/cw/cw.c
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-05-08 19:08:47 -0700
committerJamey Sharp <jamey@minilop.net>2010-05-13 17:14:07 -0700
commit5193f25ea33eed31d6a75cdc1a86427c23d8033c (patch)
tree12c39ff89c63d1eb0e1eb512d9b03f4703cd879c /miext/cw/cw.c
parent6a84cd943430cfc9df55c83aef6a7f8dea6dbb94 (diff)
Define GCAllBits as the union of all valid CreateGC masks.
Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'miext/cw/cw.c')
-rw-r--r--miext/cw/cw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miext/cw/cw.c b/miext/cw/cw.c
index 460862f5f..2d8fd12cf 100644
--- a/miext/cw/cw.c
+++ b/miext/cw/cw.c
@@ -129,7 +129,7 @@ cwCreateBackingGC(GCPtr pGC, DrawablePtr pDrawable)
return FALSE;
pPriv->serialNumber = 0;
- pPriv->stateChanges = (1 << (GCLastBit + 1)) - 1;
+ pPriv->stateChanges = GCAllBits;
return TRUE;
}