summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2009-05-28 12:02:57 +0800
committerSam Spilsbury <smspillaz@gmail.com>2009-05-28 12:02:57 +0800
commit24f1c81ce1782d0759ce3f4a773058b8ffd6f4a3 (patch)
tree3b2faaffd0ca71a3d77ae125890fd515dc985f02
parenta684db867ef1afa62302acf88a042b34aa78a60a (diff)
downloadwinrules-24f1c81ce1782d0759ce3f4a773058b8ffd6f4a3.tar.gz
winrules-24f1c81ce1782d0759ce3f4a773058b8ffd6f4a3.tar.bz2
We don't need composite
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/winrules.cpp3
-rw-r--r--src/winrules.h2
3 files changed, 2 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c84217d..02ef275 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,4 +2,4 @@ find_package (Compiz REQUIRED)
include (CompizPlugin)
-compiz_plugin (winrules PLUGINDEPS composite)
+compiz_plugin (winrules)
diff --git a/src/winrules.cpp b/src/winrules.cpp
index 2d6cca3..7ec7abb 100644
--- a/src/winrules.cpp
+++ b/src/winrules.cpp
@@ -457,7 +457,4 @@ WinrulesPluginVTable::init ()
{
if (!CompPlugin::checkPluginABI ("core", CORE_ABIVERSION))
return false;
- if (!CompPlugin::checkPluginABI ("composite", COMPIZ_COMPOSITE_ABI))
-#warning * [FIXME] Ability to operate without composite plugin
- return false;
}
diff --git a/src/winrules.h b/src/winrules.h
index 18506a8..be4f53c 100644
--- a/src/winrules.h
+++ b/src/winrules.h
@@ -22,8 +22,8 @@
*/
#include <core/core.h>
+#include <core/pluginclasshandler.h>
#include <core/atoms.h>
-#include <composite/composite.h>
#include <X11/Xatom.h>
#include "winrules_options.h"