diff options
author | Keith Packard <keithp@keithp.com> | 2010-06-05 21:34:51 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-06-05 21:34:51 -0700 |
commit | 424b593c7872a703d3d0c942b7e8acc0770eb023 (patch) | |
tree | f7c35295e5df75d25ecd5a349999b942430dfd5c | |
parent | 9c121ae45ae1d2ebd892c45e1631716ef5e7d649 (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.c | 2 |
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)) |