summaryrefslogtreecommitdiff
path: root/render/filter.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2004-08-15 03:34:18 +0000
committerKeith Packard <keithp@keithp.com>2004-08-15 03:34:18 +0000
commit1e728c3e88f6a74b93dc11827c9fcfe7b39ca5a5 (patch)
tree3a63ec7b7c0493ac63cd2b3cd4f13d3071f9f304 /render/filter.c
parent943308517905d16bda1bb27cd745bd291a84dbf6 (diff)
Copy bits from parent window when allocating pixmaps so that Background ==
None works. Copy filter to backing picture during validation. Mark picture serialNumber when setting Filter or Transform so Validate occurs. Initialize xf86Screens[i]->pScreen to NULL so that RADEON driver doesn't crash during server reset using old pScreen.
Diffstat (limited to 'render/filter.c')
-rw-r--r--render/filter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/render/filter.c b/render/filter.c
index 16d01e45d..cb9297e9c 100644
--- a/render/filter.c
+++ b/render/filter.c
@@ -272,5 +272,6 @@ SetPictureFilter (PicturePtr pPicture, char *name, int len, xFixed *params, int
for (i = 0; i < nparams; i++)
pPicture->filter_params[i] = params[i];
pPicture->filter = pFilter->id;
+ pPicture->serialNumber |= GC_CHANGE_SERIAL_BIT;
return Success;
}