summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <SmSpillaz@gmail.com>2010-05-15 12:57:36 +0800
committerSam Spilsbury <SmSpillaz@gmail.com>2010-05-15 12:57:36 +0800
commit2fe563ee897d0c2d9319b73e1c6a8cd79547a37c (patch)
tree0e82df6214810c1a3e02652b1e164e0031c531fe
parent0b019c14bfaaae0e51c471afe3b1bd7c6d614248 (diff)
downloadstaticswitcher-2fe563ee897d0c2d9319b73e1c6a8cd79547a37c.tar.gz
staticswitcher-2fe563ee897d0c2d9319b73e1c6a8cd79547a37c.tar.bz2
Track core buildsystem and compiztoolbox changes
-rw-r--r--src/staticswitcher.cpp7
-rw-r--r--staticswitcher.xml.in2
2 files changed, 6 insertions, 3 deletions
diff --git a/src/staticswitcher.cpp b/src/staticswitcher.cpp
index 3580c75..31370ec 100644
--- a/src/staticswitcher.cpp
+++ b/src/staticswitcher.cpp
@@ -1334,9 +1334,10 @@ StaticSwitchWindow::StaticSwitchWindow (CompWindow *window) :
bool
StaticSwitchPluginVTable::init ()
{
- if (!CompPlugin::checkPluginABI ("core", CORE_ABIVERSION) |
- !CompPlugin::checkPluginABI ("composite", COMPIZ_COMPOSITE_ABI) |
- !CompPlugin::checkPluginABI ("opengl", COMPIZ_OPENGL_ABI))
+ if (!CompPlugin::checkPluginABI ("core", CORE_ABIVERSION) ||
+ !CompPlugin::checkPluginABI ("composite", COMPIZ_COMPOSITE_ABI) ||
+ !CompPlugin::checkPluginABI ("opengl", COMPIZ_OPENGL_ABI) ||
+ !CompPlugin::checkPluginABI ("compiztoolbox", COMPIZ_COMPIZTOOLBOX_ABI))
return false;
return true;
diff --git a/staticswitcher.xml.in b/staticswitcher.xml.in
index 877b208..4049ef2 100644
--- a/staticswitcher.xml.in
+++ b/staticswitcher.xml.in
@@ -6,11 +6,13 @@
<requirement>
<plugin>composite</plugin>
<plugin>opengl</plugin>
+ <plugin>compiztoolbox</plugin>
</requirement>
<relation type="after">
<plugin>composite</plugin>
<plugin>opengl</plugin>
<plugin>fade</plugin>
+ <plugin>compiztoolbox</plugin>
</relation>
<relation type="before">
<plugin>bs</plugin>