diff options
author | Keith Packard <keithp@keithp.com> | 2004-08-13 08:16:14 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2004-08-13 08:16:14 +0000 |
commit | a29bfbd3d0a5d39ccee5b83ac1ba632091b031bb (patch) | |
tree | b087d11fa09d5f36f7a3b34e6333bfa8b0e6d50c /composite/compalloc.c | |
parent | 24bed5cff908a6f8b1857e3dadac22d6db54c69e (diff) |
Empty damage object when freeing pixmap.
Wrap InstallColormap so that the DDX doesn't see colormaps from our ARGB
visual (avoids lovely green tint to screen). Also, set visual->nplanes
of ARGB visual to all used (including alpha) planes so DIX can set
pixel values correctly.
Translate automatic update regions correctly to account for borders
When nplanes == 32 (ARGB visuals), mask in all ones for alpha values to
allocated pixel values.
Remove redundant fbAddTraps declaration
Fix fbCopyWindow to work on non-screen pixmaps (not needed yet)
Replace broken clipping code with that from modular tree.
Respect subWindowMode.
Diffstat (limited to 'composite/compalloc.c')
-rw-r--r-- | composite/compalloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/composite/compalloc.c b/composite/compalloc.c index f63c475a7..8e2881e85 100644 --- a/composite/compalloc.c +++ b/composite/compalloc.c @@ -460,6 +460,7 @@ compFreePixmap (WindowPtr pWin) { DamageUnregister (&pWin->drawable, cw->damage); cw->damageRegistered = FALSE; + DamageEmpty (cw->damage); } /* * Move the parent-constrained border clip region back into |