aboutsummaryrefslogtreecommitdiff
path: root/X11
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-02 19:27:36 +0000
committermarha <marha@users.sourceforge.net>2009-09-02 19:27:36 +0000
commit685c6bb164c5bdd9891dc83b988df9b36dee71fe (patch)
tree67ed608d58dd30b6981ac9925fb06217f8e8d86e /X11
parentc853de9c6af3fc7873ca9bbde5156927e1b8971a (diff)
downloadvcxsrv-685c6bb164c5bdd9891dc83b988df9b36dee71fe.tar.gz
vcxsrv-685c6bb164c5bdd9891dc83b988df9b36dee71fe.tar.bz2
vcxsrv-685c6bb164c5bdd9891dc83b988df9b36dee71fe.zip
Switched to damageproto-1.2.0.tar.gz
Diffstat (limited to 'X11')
-rw-r--r--X11/extensions/damageproto.h2
-rw-r--r--X11/extensions/damageproto.txt11
-rw-r--r--X11/extensions/damagewire.h2
3 files changed, 6 insertions, 9 deletions
diff --git a/X11/extensions/damageproto.h b/X11/extensions/damageproto.h
index d3bb04529..107e19271 100644
--- a/X11/extensions/damageproto.h
+++ b/X11/extensions/damageproto.h
@@ -1,6 +1,4 @@
/*
- * $Id: damageproto.h,v 1.1 2003-10-24 06:16:46 keithp Exp $
- *
* Copyright © 2003 Keith Packard
* Copyright © 2007 Eric Anholt
*
diff --git a/X11/extensions/damageproto.txt b/X11/extensions/damageproto.txt
index 54910adc5..1f254d4a3 100644
--- a/X11/extensions/damageproto.txt
+++ b/X11/extensions/damageproto.txt
@@ -191,20 +191,21 @@ DamageSubtract
damage: DAMAGE
repair: Region or None
- parts: Region
+ parts: Region or None
Synchronously modifies the regions in the following manner:
If repair is None:
- 1) parts = damage
+ 1) if parts is not None, parts = damage
2) damage = <empty>
Otherwise:
- 1) parts = damage INTERSECT repair
- 2) damage = damage - parts
- 3) Generate DamageNotify for remaining damage areas
+ 1) tmp = damage INTERSECT repair
+ 2) damage = damage - tmp
+ 3) if parts is not None, parts = tmp
+ 4) Generate DamageNotify for remaining damage areas
DamageAdd
diff --git a/X11/extensions/damagewire.h b/X11/extensions/damagewire.h
index 466f0d0e3..d90a0dd7c 100644
--- a/X11/extensions/damagewire.h
+++ b/X11/extensions/damagewire.h
@@ -1,6 +1,4 @@
/*
- * $Id: damagewire.h,v 1.1 2003-10-24 06:16:46 keithp Exp $
- *
* Copyright © 2003 Keith Packard
*
* Permission to use, copy, modify, distribute, and sell this software and its