diff options
author | Sam Spilsbury <Sam@XPS-SUSE.site> | 2009-02-28 15:42:42 +0900 |
---|---|---|
committer | Sam Spilsbury <Sam@XPS-SUSE.site> | 2009-02-28 15:42:42 +0900 |
commit | 9c74bb789afb7b4b6d1f093efcea2df621998373 (patch) | |
tree | 78dc39a012fda9b179bc2ced55a5a4f4a9a0d8a9 | |
parent | db192fc5cfeb47d8e861277b9833d5ae30f35a70 (diff) | |
download | mousepoll-9c74bb789afb7b4b6d1f093efcea2df621998373.tar.gz mousepoll-9c74bb789afb7b4b6d1f093efcea2df621998373.tar.bz2 |
Store plugin ABI in screen
-rw-r--r-- | mousepoll.cpp | 10 | ||||
-rw-r--r-- | private.h | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/mousepoll.cpp b/mousepoll.cpp index dc828ff..4c126b5 100644 --- a/mousepoll.cpp +++ b/mousepoll.cpp @@ -249,5 +249,15 @@ MousepollPluginVTable::init () getMetadata ()->addFromOptionInfo (mousepollOptionInfo, MP_OPTION_NUM); getMetadata ()->addFromFile (name ()); + CompPrivate p; + p.uval = COMPIZ_MOUSEPOLL_ABI; + screen->storeValue ("mousepoll_ABI", p); + return true; } + +void +MousepollPluginVTable::fini () +{ + screen->eraseValue ("mousepoll_ABI"); +} @@ -76,6 +76,7 @@ class MousepollPluginVTable : public: bool init (); + void fini (); PLUGIN_OPTION_HELPER (MousepollScreen); |