summaryrefslogtreecommitdiff
path: root/composite
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2004-08-03 05:49:48 +0000
committerEric Anholt <anholt@freebsd.org>2004-08-03 05:49:48 +0000
commitbfbb40c28ce6e98c82973bd96054d4787579eaa6 (patch)
tree807837722a5a40998a6314c78bdd5690bffb807d /composite
parentb7ba272da0910c6558f71cfedd0bf9836fc892c1 (diff)
Major improvements to Composite wrapper. Several issues remain, but it now
appears stable in limited testing. - Allocate the picture private, avoiding segfault. - Wrap PaintWindow to draw the background/border to the backing pixmap (based on Deron Johnson's comptran.c). - Set the x_off/y_off returns to translate coordinates properly. - Don't bother allocating temporary areas for the modified coordinates. Layers above are responsible for handling lower layers changing the arguments, so cw doesn't have to worry about it. mibstore.c has to do the allocation because it calls down twice (front buffer and backing store). (Suggested by keithp) - Handle the mode argument to PolyPoint, Polylines, and FillPolygon. - Remove some dead elements in the cw privates. - Kill a prototype warning in compinit.c by adding the cw.h header.
Diffstat (limited to 'composite')
-rw-r--r--composite/compinit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/composite/compinit.c b/composite/compinit.c
index 5f899f60f..1f1208b86 100644
--- a/composite/compinit.c
+++ b/composite/compinit.c
@@ -26,6 +26,7 @@
#include <config.h>
#endif
#include "compint.h"
+#include "cw.h"
int CompScreenPrivateIndex;
int CompWindowPrivateIndex;