From f49ab5cee37a8481625810f73da646dd4254fa23 Mon Sep 17 00:00:00 2001
From: Joel Bosveld <Joel.Bosveld@gmail.com>
Date: Wed, 18 Feb 2009 09:25:20 +0900
Subject: [PATCH] Store text ABI in screen

---
 private.h |    1 +
 text.cpp  |   10 ++++++++++
 2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/private.h b/private.h
index a37dd1d..41a7f2c 100644
--- a/private.h
+++ b/private.h
@@ -107,4 +107,5 @@ class TextPluginVTable :
     public:
 
 	bool init ();
+	void fini ();
 };
diff --git a/text.cpp b/text.cpp
index c42cfb4..d2770a7 100644
--- a/text.cpp
+++ b/text.cpp
@@ -559,5 +559,15 @@ TextPluginVTable::init ()
     if (!CompPlugin::checkPluginABI ("core", CORE_ABIVERSION))
 	 return false;
 
+    CompPrivate p;
+    p.uval = COMPIZ_TEXT_ABI;
+    screen->storeValue ("text_ABI", p);
+
     return true;
 }
+
+void
+TextPluginVTable::fini ()
+{
+    screen->eraseValue ("text_ABI");
+}
-- 
1.6.0.6

