diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-07-20 11:26:05 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-07-20 11:29:20 +0100 |
commit | 4eaab17aec8ea66428087065901324f56df9020e (patch) | |
tree | dd01431a603f0e145d135ae0be0bdeecf081cd25 | |
parent | 24ab9145c7748cb344b69d70b4f8eccb0c90db76 (diff) |
Adapt to libXfont2 ABI changes
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_accel.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index e06cd245..c5c4b6a4 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -117,6 +117,11 @@ #define RECTILINEAR 0x4 #define OVERWRITES 0x8 +#if XFONT2_CLIENT_FUNCS_VERSION >= 1 +#define AllocateFontPrivateIndex() xfont2_allocate_font_private_index() +#define FontSetPrivate(font, idx, data) xfont2_font_set_private(font, idx, data) +#endif + #if 0 static void __sna_fallback_flush(DrawablePtr d) { |