1 Upstream-Status: Backport
3 From 524a45da56e2a052ffafa3887891caa90ba39f76 Mon Sep 17 00:00:00 2001
4 From: Chris Wilson <chris@chris-wilson.co.uk>
5 Date: Sat, 5 Oct 2013 18:42:24 +0100
6 Subject: [PATCH] compat-api: Map changes of DamageUnregister API in 1.14.99.2
8 Reported-by: Emmanuel Benisty <benisty.e@gmail.com>
9 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
11 src/compat-api.h | 4 ++++
12 1 file changed, 4 insertions(+)
14 diff --git a/src/compat-api.h b/src/compat-api.h
15 index 8eb46ef..244a486 100644
16 --- a/src/compat-api.h
17 +++ b/src/compat-api.h
18 @@ -162,4 +162,8 @@ static inline void FreePixmap(PixmapPtr pixmap)
19 if ((d)->pScreen->SourceValidate) (d)->pScreen->SourceValidate(d, x, y, w, h)
22 +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,14,99,2,0)
23 +#define DamageUnregister(d, dd) DamageUnregister(dd)