summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-06-05 21:34:51 -0700
committerKeith Packard <keithp@keithp.com>2010-06-05 21:34:51 -0700
commit424b593c7872a703d3d0c942b7e8acc0770eb023 (patch)
treef7c35295e5df75d25ecd5a349999b942430dfd5c
parent9c121ae45ae1d2ebd892c45e1631716ef5e7d649 (diff)
Damage pixmap private key was being mis-registered as a picture key
This would cause all kinds of fun, in particular Xnest would crash at startup. Reviewed-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--miext/damage/damage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miext/damage/damage.c b/miext/damage/damage.c
index e8a119127..ef7974ef6 100644
--- a/miext/damage/damage.c
+++ b/miext/damage/damage.c
@@ -1893,7 +1893,7 @@ DamageSetup (ScreenPtr pScreen)
if (!dixRegisterPrivateKey(&damageGCPrivateKeyRec, PRIVATE_GC, sizeof(DamageGCPrivRec)))
return FALSE;
- if (!dixRegisterPrivateKey(&damagePixPrivateKeyRec, PRIVATE_PICTURE, 0))
+ if (!dixRegisterPrivateKey(&damagePixPrivateKeyRec, PRIVATE_PIXMAP, 0))
return FALSE;
if (!dixRegisterPrivateKey(&damageWinPrivateKeyRec, PRIVATE_WINDOW, 0))